]> git.pld-linux.org Git - packages/exim.git/blob - openssl_build_fix.patch
- rel 5; raise hardcoded spamd timeout value to 240 (exim 4.86 will have this configu...
[packages/exim.git] / openssl_build_fix.patch
1 From 740f36d42bb3f61fdbaf53a68380a9a96096c229 Mon Sep 17 00:00:00 2001
2 From: Jeremy Harris <jgh146exb@wizmail.org>
3 Date: Wed, 25 Mar 2015 17:11:56 +0000
4 Subject: [PATCH] Fix recent-openssl compile
5
6 ---
7  src/tls-openssl.c | 5 +++--
8  1 file changed, 3 insertions(+), 2 deletions(-)
9
10 diff --git a/src/tls-openssl.c b/src/tls-openssl.c
11 index 96ac72c..65d6089 100644
12 --- a/src/tls-openssl.c
13 +++ b/src/tls-openssl.c
14 @@ -380,7 +380,7 @@ else
15         /* client, wanting hostname check */
16      {
17  
18 -# if EXIM_HAVE_OPENSSL_CHECKHOST
19 +# ifdef EXIM_HAVE_OPENSSL_CHECKHOST
20  #  ifndef X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS
21  #   define X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS 0
22  #  endif
23 @@ -394,7 +394,8 @@ else
24      while ((name = string_nextinlist(&list, &sep, NULL, 0)))
25        if ((rc = X509_check_host(cert, name, 0,
26                   X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS
27 -                 | X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS)))
28 +                 | X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS,
29 +                 NULL)))
30         {
31         if (rc < 0)
32           {
33 -- 
34 1.9.1
35
This page took 0.125552 seconds and 3 git commands to generate.