From 41bb1380778a69aac442b9914cc6a942150bfa8a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 30 Mar 2016 17:05:29 +0200 Subject: [PATCH] mailx: fix for libressl-2.3. --- srcpkgs/mailx/patches/libressl.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 {