Mercurial > prosody-hg
diff core/certmanager.lua @ 5895:1b0ac7950129
certmanager: Disable SSLv3 by default
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 31 Oct 2013 19:00:36 +0100 |
| parents | 6bc4077bc1f9 |
| children | 019130907a07 1d13f73af58e |
line wrap: on
line diff
--- a/core/certmanager.lua Thu Oct 10 17:18:16 2013 -0400 +++ b/core/certmanager.lua Thu Oct 31 19:00:36 2013 +0100 @@ -33,7 +33,7 @@ local default_ssl_config = configmanager.get("*", "ssl"); local default_capath = "/etc/ssl/certs"; local default_verify = (ssl and ssl.x509 and { "peer", "client_once", }) or "none"; -local default_options = { "no_sslv2", luasec_has_noticket and "no_ticket" or nil }; +local default_options = { "no_sslv2", "no_sslv3", luasec_has_noticket and "no_ticket" or nil }; local default_verifyext = { "lsec_continue", "lsec_ignore_purpose" }; if ssl and not luasec_has_verifyext and ssl.x509 then
