On 20 Apr 2011, at 3:01 AM, pattabi raman wrote: > How can I use the funtion "BIO_new_fp(stdout, BIO_NOCLOSE)" to print the > value to another character array instead of "stdout"? If not this, which Bio_ > function I can use so that it will convert to Base64 and put it in char > buffer ??
I think you want to use a memory BIO, e.g. BIO_new(BIO_s_mem()). If your C library has the funopen() call, you could use that to write to a memory buffer using BIO_new_fp(), but that seems silly. :) ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org