Hi all,
I'm using openssl-1.0.1e library to decrypt an email and the output is
redirected into a file.

BIO *bio_plain_text = BIO_new_file("plain_text", "w");
  
CMS_decrypt(contentInfo, pkey, mla_cert, NULL, bio_plain_text, 0);
       
How can I decypt in a buffer also if I don't know the output size?



--
View this message in context: 
http://openssl.6102.n7.nabble.com/CMS-decrypt-in-a-buffer-tp44524.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to