# HG changeset patch # User Kim Alvefur <zash@zash.se> # Date 1423151788 -3600 # Node ID d4a68d93ad0434d5c648b1c0d8ac229eaafa3148 # Parent 1f396f0fe8320c916d166c1cf4b0a67f124ad97b certmanager: Options that appear to be available since LuaSec 0.2 diff -r 1f396f0fe832 -r d4a68d93ad04 core/certmanager.lua --- a/core/certmanager.lua Thu Feb 05 16:20:50 2015 +0100 +++ b/core/certmanager.lua Thu Feb 05 16:56:28 2015 +0100 @@ -38,11 +38,11 @@ local luasec_version = luasec_major * 100 + luasec_minor; local luasec_has = { -- TODO If LuaSec ever starts exposing these things itself, use that instead - cipher_server_preference = true; + cipher_server_preference = >= 2; no_ticket = luasec_version >= 4; no_compression = luasec_version >= 5; - single_dh_use = luasec_version >= 5; - single_ecdh_use = luasec_version >= 5; + single_dh_use = luasec_version >= 2; + single_ecdh_use = luasec_version >= 2; }; module "certmanager"