ITS#5789 GNUtls - allow CN matches against IP addresses

This commit is contained in:
Howard Chu 2008-11-04 11:21:52 +00:00
parent 24078323e2
commit 36124c715a

View File

@ -1894,6 +1894,7 @@ ldap_pvt_tls_check_hostname( LDAP *ld, void *s, 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;