diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-10-07 07:46:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-10-10 12:04:34 +0000 |
commit | ea65d6046e138275012814e4490478ba64526279 (patch) | |
tree | 4fcfb64feb776b6e553095a5a4af32e503661eb6 /community/xchat/libressl.patch | |
parent | cc3fa43f44f2f6e9431fb2e5996f72e81b0e6d0a (diff) | |
download | aports-ea65d6046e138275012814e4490478ba64526279.tar.bz2 aports-ea65d6046e138275012814e4490478ba64526279.tar.xz |
community/xchat: move from main
Diffstat (limited to 'community/xchat/libressl.patch')
-rw-r--r-- | community/xchat/libressl.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community/xchat/libressl.patch b/community/xchat/libressl.patch new file mode 100644 index 0000000000..3a971735dd --- /dev/null +++ b/community/xchat/libressl.patch @@ -0,0 +1,20 @@ +--- a/src/common/ssl.c.orig 2016-03-30 20:54:51.193579450 +0200 ++++ b/src/common/ssl.c 2016-03-30 20:55:03.070579987 +0200 +@@ -70,7 +70,7 @@ + + SSLeay_add_ssl_algorithms (); + SSL_load_error_strings (); +- ctx = SSL_CTX_new (server ? SSLv3_server_method() : SSLv3_client_method ()); ++ ctx = SSL_CTX_new (server ? SSLv23_server_method() : SSLv23_client_method ()); + + SSL_CTX_set_session_cache_mode (ctx, SSL_SESS_CACHE_BOTH); + SSL_CTX_set_timeout (ctx, 300); +@@ -281,7 +281,7 @@ + __SSL_critical_error ("SSL_new"); + + SSL_set_fd (ssl, sd); +- if (ctx->method == SSLv3_client_method()) ++ if (ctx->method == SSLv23_client_method()) + SSL_set_connect_state (ssl); + else + SSL_set_accept_state(ssl); |