summaryrefslogtreecommitdiff
path: root/debian/patches/0130_openssl.patch
blob: 5e000eeb64f28a95c2d76dd2b759bc6e2729c66d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Enable all ssl connections
Author: Jörg Frings-Fürst
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871427
Last-Update: 2017-08-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/ccast/ccpacket.c
===================================================================
--- trunk.orig/ccast/ccpacket.c
+++ trunk/ccast/ccpacket.c
@@ -157,7 +157,7 @@ static ccpacket_err connect_ccpacket_imp
 	if ((p->ctx = ssl_ctx_new(SSL_SERVER_VERIFY_LATER, 1)) == NULL)
 #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(TLS_client_method())) == NULL)
 #endif
 	{
 		DBG((g_log,0, "connect ssl_ctx_new failed\n"))