Hi,
I've made SSL client and server application using SSLeay 0.9.0
I can get the Cert of each one using SSL_get_peer_certificate, but I
don't know how to verify certs. I know where are kept the CA, and I know
the certs are OK.
I still did not find what functions to call for verifying certs. I
thought I need to use SSL_CTX_load_verify_locations(ctx,CAfile,CApath)
and
SSL_get_verify_result(ssl)
But then it always return NULL.
Is there something I should do ?
Thanks.
Eric DESBARBIEUX
+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/ |
+-------------------------------------------------------------------------+