But what i really want is the encoded string in a char buffer.
And so i comment out <<<< 2 and use <<<< 1 instead. As its suppose to write the encoded string into a buffer, but the problem here is pEncBuf is empty even though bytesWritten says it wrote 4 bytes.
And i can't explain why it won't work.


Your code is creating a mem buf of zero length.  The second argument
to BIO_new_mem_buf is the actual length of the buffer.

Jim

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to