mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Switched to TLSv1_2
This commit is contained in:
parent
aded4ae08c
commit
1e5e82b033
2
mxml
2
mxml
@ -1 +1 @@
|
|||||||
Subproject commit 15c5f5c6764f99e9974c6ea40f5a58f2d21285d6
|
Subproject commit 20b4610931d6a443a9ff056f2366fdddcdb9d2b3
|
||||||
@ -305,7 +305,7 @@ int ssl_connect(int sock, SSL ** ssl_con)
|
|||||||
SSL_library_init();
|
SSL_library_init();
|
||||||
SSL_load_error_strings();
|
SSL_load_error_strings();
|
||||||
|
|
||||||
meth = (SSL_METHOD *) TLSv1_method();
|
meth = (SSL_METHOD *) TLSv1_2_method();
|
||||||
ctx = SSL_CTX_new(meth);
|
ctx = SSL_CTX_new(meth);
|
||||||
|
|
||||||
*ssl_con = SSL_new(ctx);
|
*ssl_con = SSL_new(ctx);
|
||||||
|
|||||||
@ -2445,7 +2445,7 @@ int ssl_connect(int sock, SSL ** ssl_con)
|
|||||||
SSL_library_init();
|
SSL_library_init();
|
||||||
SSL_load_error_strings();
|
SSL_load_error_strings();
|
||||||
|
|
||||||
meth = (SSL_METHOD *) TLSv1_method();
|
meth = (SSL_METHOD *) TLSv1_2_method();
|
||||||
ctx = SSL_CTX_new(meth);
|
ctx = SSL_CTX_new(meth);
|
||||||
|
|
||||||
*ssl_con = SSL_new(ctx);
|
*ssl_con = SSL_new(ctx);
|
||||||
@ -29493,7 +29493,7 @@ SSL_CTX *init_ssl(void)
|
|||||||
SSL_library_init();
|
SSL_library_init();
|
||||||
SSL_load_error_strings();
|
SSL_load_error_strings();
|
||||||
|
|
||||||
meth = (SSL_METHOD *) TLSv1_method();
|
meth = (SSL_METHOD *) TLSv1_2_method();
|
||||||
ctx = SSL_CTX_new(meth);
|
ctx = SSL_CTX_new(meth);
|
||||||
|
|
||||||
if (getcfg("global", "SSL Passphrase", pwd, sizeof(pwd))) {
|
if (getcfg("global", "SSL Passphrase", pwd, sizeof(pwd))) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user