summaryrefslogtreecommitdiff
path: root/system/apk-tools/openssl-compat.patch
blob: cdafefd05829f5f8bd6231c148542f029fc5c7ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- apk-tools-2.8.1/libfetch/common.c.old	2017-10-27 08:12:05.000000000 -0500
+++ apk-tools-2.8.1/libfetch/common.c	2017-11-11 22:37:18.661697875 -0600
@@ -504,7 +504,7 @@
 
 	SSL_load_error_strings();
 
-	conn->ssl_meth = TLS_client_method();
+	conn->ssl_meth = SSLv23_client_method();
 	conn->ssl_ctx = SSL_CTX_new(conn->ssl_meth);
 	SSL_CTX_set_mode(conn->ssl_ctx, SSL_MODE_AUTO_RETRY);