Hello,
> I received a certificate from remote client and need to deal with it.
> The certificate is stored in buffer, which is created by local server.
> However, I don't know how to make the stuff in buffer become
> X509-style certificate.

If your buffer is in DER format then you may try d2i_X509() function.

Best regards,
--
Marek Marcola

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org