Hello Mailinglist,

I have a RSA key written to memory. How can I free the memory?

oBIO = BIO_new(BIO_s_mem());
PEM_write_bio_RSAPrivateKey(oBIO, oRsaKey, 0, 0, 0, 0, 0);

char *cMem;
iBytesWritten = BIO_get_mem_data(oBIO, &cMem);
cMem[iBytesWritten] = '\0';
// #### How can I free cMem? ####


Regards

Martin
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to