Fix for handling match on domain name that may have a null terminator inside. The check should match on len from ASN.1 reguardless of a null character.

This commit is contained in:
David Garske 2018-05-03 09:33:05 -07:00
parent 65eb79e5cd
commit d43aa37041
1 changed files with 0 additions and 3 deletions

View File

@ -7525,9 +7525,6 @@ int MatchDomainName(const char* pattern, int len, const char* str)
return 0;
}
if (*str != '\0')
str++;
if (len > 0)
len--;
}