aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-03-24 07:07:18 +0800
committerjkim <jkim@FreeBSD.org>2015-03-24 07:07:18 +0800
commite70483d19fa7c7065d324bba3edb5fd593dbd9ae (patch)
tree9c149e12750a23b3bbdca5769a15bdca8862a1d9 /mail
parent4b8fe6406003b65084c977eac2642d227a34fdaa (diff)
downloadfreebsd-ports-gnome-e70483d19fa7c7065d324bba3edb5fd593dbd9ae.tar.gz
freebsd-ports-gnome-e70483d19fa7c7065d324bba3edb5fd593dbd9ae.tar.zst
freebsd-ports-gnome-e70483d19fa7c7065d324bba3edb5fd593dbd9ae.zip
Make it also buildable without SSLv3 support.
PR: 198399
Diffstat (limited to 'mail')
-rw-r--r--mail/courier/files/patch-tcpd__libcouriertls.c9
1 files 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());
+