From 053c4ccca9372d7550759e540b7458ca57db1538 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 21 Feb 2016 09:10:46 +0100 Subject: [PATCH] openssl: force TLS v1.2 instead of v1 Fixes some connection issues Signed-off-by: Felix Fietkau --- ustream-openssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ustream-openssl.c b/ustream-openssl.c index 0d4a8ff..4a3f0a2 100644 --- a/ustream-openssl.c +++ b/ustream-openssl.c @@ -42,9 +42,9 @@ __ustream_ssl_context_new(bool server) m = SSLv23_client_method(); #else if (server) - m = TLSv1_server_method(); + m = TLSv1_2_server_method(); else - m = TLSv1_client_method(); + m = TLSv1_2_client_method(); #endif c = SSL_CTX_new((void *) m); -- 2.25.1