summaryrefslogtreecommitdiff
path: root/libfetch
diff options
context:
space:
mode:
Diffstat (limited to 'libfetch')
-rw-r--r--libfetch/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfetch/common.c b/libfetch/common.c
index 3bd8a53..e237828 100644
--- a/libfetch/common.c
+++ b/libfetch/common.c
@@ -504,7 +504,7 @@ fetch_ssl(conn_t *conn, const struct url *URL, int verbose)
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);