Hi,
> SSL_use_certificate_file(ssl, "client.pem", SSL_FILETYPE_PEM)
> SSL_use_PrivateKey_file(ssl, "client.pem", SSL_FILETYPE_PEM)

  It could be that the above certificate file loading itself failed.
Meaning the path could be incorrect or maybe some other problem 
with the format. Check the return values for the above APIs.

The rest looks fine to me.

Amit.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to