git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Solaris build
[exim.git]
/
src
/
src
/
tlscert-openssl.c
diff --git
a/src/src/tlscert-openssl.c
b/src/src/tlscert-openssl.c
index a57980df040f26d72534b2837ca2070689ff1b16..9444b6d7ca07652544c10cb6b47369503fc680da 100644
(file)
--- a/
src/src/tlscert-openssl.c
+++ b/
src/src/tlscert-openssl.c
@@
-344,7
+344,7
@@
while (sk_GENERAL_NAME_num(san) > 0)
if (ele[len]) /* not nul-terminated */
ele = string_copyn(ele, len);
if (ele[len]) /* not nul-terminated */
ele = string_copyn(ele, len);
- if (
strnlen(CS ele, len
) == len) /* ignore any with embedded nul */
+ if (
Ustrlen(ele
) == len) /* ignore any with embedded nul */
list = string_append_listele(list, sep,
match == -1 ? string_sprintf("%s=%s", tag, ele) : ele);
}
list = string_append_listele(list, sep,
match == -1 ? string_sprintf("%s=%s", tag, ele) : ele);
}