Merge 0.9->0.10
authorMatthew Wild <mwild1@gmail.com>
Sun, 10 Nov 2013 18:49:34 +0000 (18:49 +0000)
committerMatthew Wild <mwild1@gmail.com>
Sun, 10 Nov 2013 18:49:34 +0000 (18:49 +0000)
1  2 
core/certmanager.lua
util/set.lua

index d9d722f3b74f1e0855a49db9cad254251707af52,1a8da6a618b91cbaaab8a56a0fcf2ec84c5c7d57..c88f7a270fb77c964a39f5fcc3fd763704d67346
@@@ -31,20 -30,11 +31,20 @@@ en
  module "certmanager"
  
  -- Global SSL options if not overridden per-host
 -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", "no_sslv3", "cipher_server_preference", luasec_has_noticket and "no_ticket" or nil };
 -local default_verifyext = { "lsec_continue", "lsec_ignore_purpose" };
 +local global_ssl_config = configmanager.get("*", "ssl");
 +
 +local core_defaults = {
 +      capath = "/etc/ssl/certs";
 +      protocol = "sslv23";
 +      verify = (ssl and ssl.x509 and { "peer", "client_once", }) or "none";
 +      options = { "no_sslv2", "no_sslv3", "cipher_server_preference", luasec_has_noticket and "no_ticket" or nil };
 +      verifyext = { "lsec_continue", "lsec_ignore_purpose" };
 +      curve = "secp384r1";
-       ciphers = "HIGH:!DSS:!aNULL@STRENGTH";
++      ciphers = "HIGH+kEDH:HIGH+kEECDH:HIGH+kRSA:!DSS:!3DES:!aNULL";
 +}
 +local path_options = { -- These we pass through resolve_path()
 +      key = true, certificate = true, cafile = true, capath = true, dhparam = true
 +}
  
  if ssl and not luasec_has_verifyext and ssl.x509 then
        -- COMPAT mw/luasec-hg
diff --cc util/set.lua
Simple merge