projects
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c9ed72
)
Fix recent-openssl compile
author
Jeremy Harris
<jgh146exb@wizmail.org>
Wed, 25 Mar 2015 17:11:56 +0000
(17:11 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Wed, 25 Mar 2015 17:11:56 +0000
(17:11 +0000)
src/src/tls-openssl.c
patch
|
blob
|
blame
|
history
diff --git
a/src/src/tls-openssl.c
b/src/src/tls-openssl.c
index 96ac72c3c16cabdea5a1b4b5764835164a89b222..65d608925dd69224d9351f46e6840d099fbae7d5 100644
(file)
--- a/
src/src/tls-openssl.c
+++ b/
src/src/tls-openssl.c
@@
-380,7
+380,7
@@
else
/* client, wanting hostname check */
{
-#if EXIM_HAVE_OPENSSL_CHECKHOST
+#if
def
EXIM_HAVE_OPENSSL_CHECKHOST
# ifndef X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS
# define X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS 0
# endif
@@
-394,7
+394,8
@@
else
while ((name = string_nextinlist(&list, &sep, NULL, 0)))
if ((rc = X509_check_host(cert, name, 0,
X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS
- | X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS)))
+ | X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS,
+ NULL)))
{
if (rc < 0)
{