Switched to TLSv1_2

This commit is contained in:
2017-08-09 11:58:12 +02:00
parent aded4ae08c
commit 1e5e82b033
3 changed files with 4 additions and 4 deletions
+1 -1
Submodule mxml updated: 15c5f5c676...20b4610931
+1 -1
View File
@@ -305,7 +305,7 @@ int ssl_connect(int sock, SSL ** ssl_con)
SSL_library_init();
SSL_load_error_strings();
meth = (SSL_METHOD *) TLSv1_method();
meth = (SSL_METHOD *) TLSv1_2_method();
ctx = SSL_CTX_new(meth);
*ssl_con = SSL_new(ctx);
+2 -2
View File
@@ -2445,7 +2445,7 @@ int ssl_connect(int sock, SSL ** ssl_con)
SSL_library_init();
SSL_load_error_strings();
meth = (SSL_METHOD *) TLSv1_method();
meth = (SSL_METHOD *) TLSv1_2_method();
ctx = SSL_CTX_new(meth);
*ssl_con = SSL_new(ctx);
@@ -29493,7 +29493,7 @@ SSL_CTX *init_ssl(void)
SSL_library_init();
SSL_load_error_strings();
meth = (SSL_METHOD *) TLSv1_method();
meth = (SSL_METHOD *) TLSv1_2_method();
ctx = SSL_CTX_new(meth);
if (getcfg("global", "SSL Passphrase", pwd, sizeof(pwd))) {