blob: b938ddcf42e535a5f26cee7966524724fa77e6d3 (
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(SSLv23_client_method())) == NULL)
#endif
{
DBG((g_log,0, "connect ssl_ctx_new failed\n"))
|