diff --git a/srcpkgs/mailx/patches/libressl.patch b/srcpkgs/mailx/patches/libressl.patch index dd7eb512d8e..15767d2669a 100644 --- a/srcpkgs/mailx/patches/libressl.patch +++ b/srcpkgs/mailx/patches/libressl.patch @@ -25,3 +25,15 @@ method = SSLv3_client_method(); else if (equal(cp, "tls1")) method = TLSv1_client_method(); + +--- a/openssl.c.orig 2016-03-30 17:03:49.491514269 +0200 ++++ b/openssl.c 2016-03-30 17:04:03.026491689 +0200 +@@ -219,7 +219,7 @@ ssl_select_method(const char *uhp) + cp = ssl_method_string(uhp); + if (cp != NULL) { + if (equal(cp, "ssl3")) +- method = SSLv3_client_method(); ++ method = SSLv23_client_method(); + else if (equal(cp, "tls1")) + method = TLSv1_client_method(); + else {