On Thu, Aug 05, 1999 at 01:28:56PM -0700, Claus Assmann wrote:
> Question: is there some simple way to find out whether the client
> has been authenticated? I registered a callback with SSL_CTX_set_verify,
> but I don't completely understand it...
Do you have to use a callback? You can use SSL_get_verify_result
and SSL_get_peer_certificate. If the former returns X509_V_OK and
the latter returns non-NULL, then you have an authenticated
certificate.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]