mailx: fix for libressl-2.3.
This commit is contained in:
@@ -25,3 +25,15 @@
|
|||||||
method = SSLv3_client_method();
|
method = SSLv3_client_method();
|
||||||
else if (equal(cp, "tls1"))
|
else if (equal(cp, "tls1"))
|
||||||
method = TLSv1_client_method();
|
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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user