diff options
author | Christoph Ziebuhr <chris@codefrickler.de> | 2014-12-01 14:41:35 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-12-01 15:55:29 +0100 |
commit | 02d7535a45290974e7ed51afc90cf2b562c4c74c (patch) | |
tree | fc67beca8a91e02dc02a4737477515a7e2652f71 | |
parent | 62f173c3982bba5b250512f4322f9f5dbfffe812 (diff) | |
download | ustream-ssl-02d7535a45290974e7ed51afc90cf2b562c4c74c.tar.gz |
openssl: Fix host_pattern_match
Signed-off-by: Christoph Ziebuhr <chris@codefrickler.de>
-rw-r--r-- | ustream-openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ustream-openssl.c b/ustream-openssl.c index 06053e6..635d34c 100644 --- a/ustream-openssl.c +++ b/ustream-openssl.c @@ -121,7 +121,7 @@ static bool host_pattern_match(const unsigned char *pattern, const char *cn) for (; (c = tolower(*pattern++)) != 0; cn++) { if (c != '*') { - if (c != *cn) + if (c != tolower(*cn)) return false; continue; } |