summaryrefslogtreecommitdiff
path: root/debian/patches/0130_openssl.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-25 21:53:10 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-25 21:53:10 +0100
commitae0528b01b8d26bedb08c08b38927290420b8422 (patch)
treeb4d167cde55fbe4490e11a397e68513341f5ca94 /debian/patches/0130_openssl.patch
parent2e2ff851a88b1910e05d78d5bbccffcc5af28013 (diff)
Change to secure URIs; Switch from SSLv23_client_method to TLS_client_method
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"))