blob: ee723050ac19651c6b76e9fbbcd964290dfdae62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/module-webif-lib.c b/module-webif-lib.c
index bda2286..3e5dbf9 100644
--- a/module-webif-lib.c
+++ b/module-webif-lib.c
@@ -866,7 +866,7 @@ SSL_CTX *SSL_Webif_Init(void)
if(cfg.http_force_sslv3)
{
- ctx = SSL_CTX_new(SSLv3_server_method());
+ ctx = SSL_CTX_new(TLS_server_method());
#ifdef SSL_CTX_clear_options
SSL_CTX_clear_options(ctx, SSL_OP_ALL); //we CLEAR all bug workarounds! This is for security reason
#else
|