> i mean is there any equivalent function for > SSL_CTX_use_certificate_chain_file which takes certificate buffer > instead of certificate file name.
Just look at the source code to SSL_CTX_use_certificate_chain_file. As I recall (it has been awhile) you will find code in there that address the certificates from the file one-by-one. Just follow the same pattern getting the certificates from wherever. DS ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]