diff options
author | Martin Willi <martin@strongswan.org> | 2008-06-13 15:10:01 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2008-06-13 15:10:01 +0000 |
commit | eab63e8476fb1a542dfa027c672f062d3096684e (patch) | |
tree | ee4fd996ce13c40cc251dd5a9bc24496ebbd41c8 /src/libstrongswan/utils/identification.c | |
parent | 1726ca10270fb2b79f9a3874f90c61f2124b3705 (diff) | |
download | strongswan-eab63e8476fb1a542dfa027c672f062d3096684e.tar.bz2 strongswan-eab63e8476fb1a542dfa027c672f062d3096684e.tar.xz |
fixed matches() check for RFC822/FQDN without wildcards
Diffstat (limited to 'src/libstrongswan/utils/identification.c')
-rw-r--r-- | src/libstrongswan/utils/identification.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstrongswan/utils/identification.c b/src/libstrongswan/utils/identification.c index cf64f044d..e1fb54007 100644 --- a/src/libstrongswan/utils/identification.c +++ b/src/libstrongswan/utils/identification.c @@ -814,8 +814,8 @@ static id_match_t matches_string(private_identification_t *this, { return ID_MATCH_NONE; } - /* try a binary comparison first */ - if (equals_binary(this, other)) + /* try a equals check first */ + if (equals_strcasecmp(this, other)) { return ID_MATCH_PERFECT; } |