mailx: fix for libressl-2.3.
This commit is contained in:
parent
05d5c47506
commit
41bb138077
1 changed files with 12 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue