diff options
Diffstat (limited to 'archlinuxaba/fetchmail/disable-sslv3.patch')
-rw-r--r-- | archlinuxaba/fetchmail/disable-sslv3.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/archlinuxaba/fetchmail/disable-sslv3.patch b/archlinuxaba/fetchmail/disable-sslv3.patch new file mode 100644 index 0000000..7c4833a --- /dev/null +++ b/archlinuxaba/fetchmail/disable-sslv3.patch @@ -0,0 +1,16 @@ +--- fetchmail-6.4.1/socket.c 2019-09-15 17:48:53.000000000 +0200 ++++ fetchmail-6.4.1/socket.c 2019-09-30 07:13:58.260770910 +0200 +@@ -905,13 +905,8 @@ + } + + if (!strcasecmp("ssl3", *myproto)) { +-#if (HAVE_DECL_SSLV3_CLIENT_METHOD > 0) && (0 == OPENSSL_NO_SSL3 + 0) +- _ctx[sock] = SSL_CTX_new(SSLv3_client_method()); +- *avoid_ssl_versions &= ~SSL_OP_NO_SSLv3; +-#else + report(stderr, GT_("Your OpenSSL version does not support SSLv3.\n")); + return -1; +-#endif + } else if (!strcasecmp("ssl3+", *myproto)) { + *avoid_ssl_versions &= ~SSL_OP_NO_SSLv3; + *myproto = NULL; |