mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00

Added two new libssldap public functions: ldapssl_set_option() and ldapssl_get_option(). Also fixed a bug in ldapsinit:do_ldapssl_connect() that sometimes caused PR_Close() to be called twice on an SSL file descriptor if an error occurred (once in do_ldapssl_connect() itself and once in the libprldap close function that is called from do_ldapssl_connect()). Also updated the NSPR and NSS "error code to string" mapping tables that are used by ldapssl_err2string(). Also fixed a bug in common.c:ldaptool_print_lderror (LDAP command line tools) where we did not check for SSL errors when the error code was "can't connect." We were only checking on "server down" errors.