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

RE: tls_check_hostname (ITS#2161)




I added this one line and it works for me.  I am assuming
tls_opt_require_cert is the right variable.  Maybe even move the new
statement up by two lines.  I'll leave it up to the openldap team.
 -Aaron



*** libraries/libldap/tls.c.orig        Sat Jan 26 14:55:02 2002
--- libraries/libldap/tls.c     Wed Oct 30 15:00:05 2002
***************
*** 1121,1126 ****
--- 1121,1127 ----

        ld->ld_errno = ldap_pvt_tls_check_hostname( ssl, host );
        if (ld->ld_errno != LDAP_SUCCESS) {
+               if (tls_opt_require_cert)
                return ld->ld_errno;
        }