mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-05 13:40:08 +08:00
ITS#5789 again
This commit is contained in:
parent
a96538f36c
commit
08905d6792
@ -651,6 +651,7 @@ tlsg_session_chkhost( LDAP *ld, tls_session *session, const char *name_in )
|
||||
|
||||
} else {
|
||||
ret = LDAP_LOCAL_ERROR;
|
||||
if ( !len1 ) len1 = strlen( name );
|
||||
if ( len1 == altnamesize && strncasecmp(name, altname, altnamesize) == 0 ) {
|
||||
ret = LDAP_SUCCESS;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user