aboutsummaryrefslogtreecommitdiffstats
path: root/main/partimage/libressl.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-10-06 13:52:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-10-10 12:04:22 +0000
commit945a13d3c885a537c233ce74f5bc54fcc008d12d (patch)
tree2bda4f029eab972b98da9d74d2249bfed58efd6d /main/partimage/libressl.patch
parenta4b5e62b940e507e61815b5dad02a998e1239cac (diff)
downloadaports-945a13d3c885a537c233ce74f5bc54fcc008d12d.tar.bz2
aports-945a13d3c885a537c233ce74f5bc54fcc008d12d.tar.xz
main/partimage: rebuild against libressl
Diffstat (limited to 'main/partimage/libressl.patch')
-rw-r--r--main/partimage/libressl.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/partimage/libressl.patch b/main/partimage/libressl.patch
new file mode 100644
index 0000000000..47285c1121
--- /dev/null
+++ b/main/partimage/libressl.patch
@@ -0,0 +1,26 @@
+diff --git a/src/client/netclient.cpp b/src/client/netclient.cpp
+index 30b8d5c..c761473 100644
+--- a/src/client/netclient.cpp
++++ b/src/client/netclient.cpp
+@@ -43,7 +43,7 @@ CNetClient::CNetClient(bool bMustLogin, bool bUseSSL):CNet()
+ {
+ showDebug(3, "initializing client ssl\n");
+ SSLeay_add_ssl_algorithms();
+- meth = SSLv2_client_method();
++ meth = TLS_client_method();
+ SSL_load_error_strings();
+ ctx = SSL_CTX_new(meth);
+ if (!ctx)
+diff --git a/src/server/netserver.cpp b/src/server/netserver.cpp
+index b3ba1c7..6bd9944 100644
+--- a/src/server/netserver.cpp
++++ b/src/server/netserver.cpp
+@@ -39,7 +39,7 @@ CNetServer::CNetServer(unsigned short int port):CNet()
+ {
+ SSL_load_error_strings();
+ SSLeay_add_ssl_algorithms();
+- meth = SSLv23_server_method();
++ meth = TLS_server_method();
+ ctx = SSL_CTX_new(meth);
+ if (!ctx)
+ {