[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:
ldap_get_option(ld,LDAP_OPT_X_TLS_SSL_CTX,&sslptr);
rc=SSL_get_error(sslptr,ret);
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,
Eric