summaryrefslogtreecommitdiff
path: root/debian/patches/0130_openssl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0130_openssl.patch')
-rw-r--r--debian/patches/0130_openssl.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/0130_openssl.patch b/debian/patches/0130_openssl.patch
index b938ddc..5e000ee 100644
--- a/debian/patches/0130_openssl.patch
+++ b/debian/patches/0130_openssl.patch
@@ -13,7 +13,7 @@ Index: trunk/ccast/ccpacket.c
#else
// Want to use TLS_client_method(), but older OpenSSL doesn't have it...
- if ((p->ctx = SSL_CTX_new(TLSv1_client_method())) == NULL)
-+ if ((p->ctx = SSL_CTX_new(SSLv23_client_method())) == NULL)
++ if ((p->ctx = SSL_CTX_new(TLS_client_method())) == NULL)
#endif
{
DBG((g_log,0, "connect ssl_ctx_new failed\n"))