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)
core/certmanager.lua
util/set.lua

index d9d722f3b74f1e0855a49db9cad254251707af52..c88f7a270fb77c964a39f5fcc3fd763704d67346 100644 (file)
@@ -40,7 +40,7 @@ local core_defaults = {
        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
index 89cd7cf369f0b891270f65c616958fd1f8536866..04f5f0f4f297d3d5b9d8bf3d167edebf4cf6d092 100644 (file)
@@ -23,7 +23,7 @@ function set_mt.__sub(set1, set2)
        return _M.difference(set1, set2);
 end
 function set_mt.__div(set, func)
-       local new_set, new_items = _M.new();
+       local new_set = _M.new();
        local items, new_items = set._items, new_set._items;
        for item in pairs(items) do
                local new_item = func(item);