diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2015-03-25 17:11:56 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2015-03-25 17:11:56 +0000 |
commit | 740f36d42bb3f61fdbaf53a68380a9a96096c229 (patch) | |
tree | ab17fee7ea7f26b20d79aae2b43d02a889725e28 | |
parent | 6c9ed72eaa948d340dba0ea0a878f9570852ab35 (diff) |
Fix recent-openssl compile
-rw-r--r-- | src/src/tls-openssl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index 96ac72c3c..65d608925 100644 --- 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 +#ifdef 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) { |