From 67ac109eabb984c8eaaf1da3113bb3ac697446f6 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Mon, 23 Mar 2015 23:07:18 +0000 Subject: [PATCH] Make it also buildable without SSLv3 support. PR: 198399 --- mail/courier/files/patch-tcpd__libcouriertls.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mail/courier/files/patch-tcpd__libcouriertls.c b/mail/courier/files/patch-tcpd__libcouriertls.c index 8b09121dbf08..993d5cf2aded 100644 --- a/mail/courier/files/patch-tcpd__libcouriertls.c +++ b/mail/courier/files/patch-tcpd__libcouriertls.c @@ -1,6 +1,6 @@ ---- tcpd/libcouriertls.c.orig 2009-11-21 15:07:32.000000000 -0500 -+++ tcpd/libcouriertls.c 2015-03-23 18:04:57.776710000 -0400 -@@ -551,8 +551,10 @@ +--- tcpd/libcouriertls.c.orig 2009-11-21 21:07:32.000000000 +0100 ++++ tcpd/libcouriertls.c 2015-03-07 22:46:47.521076321 +0100 +@@ -551,9 +551,13 @@ if (!protocol || !*protocol) protocol="SSL23"; @@ -10,6 +10,9 @@ +#ifndef OPENSSL_NO_SSL2 + protocol && strcmp(protocol, "SSL2") == 0 ? SSLv2_method(): +#endif ++#ifndef OPENSSL_NO_SSL3 protocol && strcmp(protocol, "SSL3") == 0 ? SSLv3_method(): ++#endif protocol && strcmp(protocol, "SSL23") == 0 ? SSLv23_method(): TLSv1_method()); +