mailx: fix for libressl-2.3.

This commit is contained in:
Juan RP 2016-03-30 17:05:29 +02:00
parent 05d5c47506
commit 41bb138077

View file

@ -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 {