Commit: 716af905a9739f15c0b99a4a8581a70199ec5ba3
Parent: 2b258f2eb099bf3635a1a98acb3de6a127200aff
Author: opask
Date: Fri, 24 Aug 2018 20:42:22 -0600
https.c: use TLS_client_method() instead of SSLv23_client_method()
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/https.c b/https.c
@@ -63,8 +63,7 @@ links_ssl *getSSL(void)
SSL_CTX *ctx;
const SSL_METHOD *m;
- m = SSLv23_client_method();
- if (!m)
+ if (!(m = TLS_client_method()))
return NULL;
contexts = ctx = SSL_CTX_new(m);
if (!ctx)