summaryrefslogtreecommitdiff
path: root/system/apk-tools/openssl-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/apk-tools/openssl-compat.patch')
-rw-r--r--system/apk-tools/openssl-compat.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/apk-tools/openssl-compat.patch b/system/apk-tools/openssl-compat.patch
new file mode 100644
index 000000000..cdafefd05
--- /dev/null
+++ b/system/apk-tools/openssl-compat.patch
@@ -0,0 +1,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);
+