Loweynet
Revisión | 4ea375bcbbcbdbe0c76e5abed90f817af6e9c7b3 (tree) |
---|---|
Tiempo | 2014-10-15 22:12:30 |
Autor | s_kawamoto <s_kawamoto@user...> |
Commiter | s_kawamoto |
Treat SSL 3.0 as a weak encryption method and change not to use it by default.
@@ -705,7 +705,7 @@ BOOL AttachSSL(SOCKET s, SOCKET parent, BOOL* pbAborted, BOOL bStrengthen) | ||
705 | 705 | { |
706 | 706 | if(bStrengthen) |
707 | 707 | { |
708 | - p_SSL_ctrl(*ppSSL, SSL_CTRL_OPTIONS, SSL_OP_NO_SSLv2, NULL); | |
708 | + p_SSL_ctrl(*ppSSL, SSL_CTRL_OPTIONS, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3, NULL); | |
709 | 709 | p_SSL_set_cipher_list(*ppSSL, "HIGH"); |
710 | 710 | } |
711 | 711 | } |