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

(ITS#9157) return additional error code information when OPT_X_TLS_NEWCTX fails



Full_Name: Thomas Grainger
Version: libldap-2.4-2
OS: Ubuntu
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (62.60.6.23)


when setting OPT_X_TLS_NEWCTX after an invalid OPT_X_TLS_CACERTFILE libldap
returns a generic error code

would it be possible to pass the underlying TLS library's error code instead or
in addition?

https://github.com/python-ldap/python-ldap/issues/55#issuecomment-577831055