X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=ustream-openssl.c;fp=ustream-openssl.c;h=4a3f0a27aa51008ac8047ea3853e70324ed1278c;hb=053c4ccca9372d7550759e540b7458ca57db1538;hp=0d4a8fffc42126beadc64b35e00503039befc6f4;hpb=173aca2acf16b367f9a130efe677189854784b78;p=project%2Fustream-ssl.git 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);