summaryrefslogtreecommitdiff
path: root/mail/fetchmail/files/patch-socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/fetchmail/files/patch-socket.c')
-rw-r--r--mail/fetchmail/files/patch-socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/fetchmail/files/patch-socket.c b/mail/fetchmail/files/patch-socket.c
index 28a0b99caf23..6bb35ccf25d1 100644
--- a/mail/fetchmail/files/patch-socket.c
+++ b/mail/fetchmail/files/patch-socket.c
@@ -5,7 +5,7 @@
if(myproto) {
if(!strcasecmp("ssl2",myproto)) {
-#if HAVE_DECL_SSLV2_CLIENT_METHOD + 0 > 0
-+#ifndef OPENSSL_NO_SSL2
++#if (HAVE_DECL_SSLV2_CLIENT_METHOD + 0 > 0) && !defined(OPENSSL_NO_SSL2)
_ctx[sock] = SSL_CTX_new(SSLv2_client_method());
#else
- report(stderr, GT_("Your operating system does not support SSLv2.\n"));