fixed matches() check for RFC822/FQDN without wildcards
This commit is contained in:
@@ -814,8 +814,8 @@ static id_match_t matches_string(private_identification_t *this,
|
|||||||
{
|
{
|
||||||
return ID_MATCH_NONE;
|
return ID_MATCH_NONE;
|
||||||
}
|
}
|
||||||
/* try a binary comparison first */
|
/* try a equals check first */
|
||||||
if (equals_binary(this, other))
|
if (equals_strcasecmp(this, other))
|
||||||
{
|
{
|
||||||
return ID_MATCH_PERFECT;
|
return ID_MATCH_PERFECT;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user