[Date Prev][Date Next] [Chronological] [Thread] [Top]

Get last SSL Error?

After attempting ldap_sasl_bind on a LDAPS connection I am trying to determine
the return error message from openssl.

I am using the following:

What I cannot find is how to populate 'ret' for the SSL_get_error function. 
Is the last return code from OpenSSL stored in OpenLDAP somewhere so I can get
a clearer picture on an SSL connection failure?

Many thanks in advance,