提交 cc3e75fc authored 作者: Anthony Minessale's avatar Anthony Minessale

omit weak ciphers to prevent hackage

上级 de6389dd
Wed Mar 6 12:57:17 CST 2013 Wed Mar 6 13:01:54 CST 2013
...@@ -388,6 +388,8 @@ static int tport_ws_init_primary_secure(tport_primary_t *pri, ...@@ -388,6 +388,8 @@ static int tport_ws_init_primary_secure(tport_primary_t *pri,
goto done; goto done;
} }
SSL_CTX_set_cipher_list(wspri->ssl_ctx, "HIGH:!DSS:!aNULL@STRENGTH");
ret = tport_ws_init_primary(pri, tpn, ai, tags, return_culprit); ret = tport_ws_init_primary(pri, tpn, ai, tags, return_culprit);
done: done:
......
...@@ -91,6 +91,8 @@ void init_ssl(void) { ...@@ -91,6 +91,8 @@ void init_ssl(void) {
abort(); abort();
} }
SSL_CTX_set_cipher_list(globals.ssl_ctx, "HIGH:!DSS:!aNULL@STRENGTH");
thread_setup(); thread_setup();
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论