projects
/
project
/
ustream-ssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62f173c
)
openssl: Fix host_pattern_match
author
Christoph Ziebuhr
<chris@codefrickler.de>
Mon, 1 Dec 2014 13:41:35 +0000
(14:41 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 1 Dec 2014 14:55:29 +0000
(15:55 +0100)
Signed-off-by: Christoph Ziebuhr <chris@codefrickler.de>
ustream-openssl.c
patch
|
blob
|
history
diff --git
a/ustream-openssl.c
b/ustream-openssl.c
index 06053e6fb661556a66da8f4cf7f70349ace2eb5b..635d34ce29726b50f141999f13090d13e4e40be1 100644
(file)
--- 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;
}