diff options
author | Kim Alvefur <zash@zash.se> | 2015-02-05 16:56:28 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-02-05 16:56:28 +0100 |
commit | 74f99c6bdea381f7e253c1036e7e7d4954bdeeef (patch) | |
tree | af71417f2b25d0954a4cbfc08fff2baff6c6fca3 | |
parent | 18250d87dfc120da3804af0c6de9a11c33501735 (diff) | |
download | prosody-74f99c6bdea381f7e253c1036e7e7d4954bdeeef.tar.gz prosody-74f99c6bdea381f7e253c1036e7e7d4954bdeeef.zip |
certmanager: Options that appear to be available since LuaSec 0.2
-rw-r--r-- | core/certmanager.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua index 3de3f7f7..d92e5fc1 100644 --- a/core/certmanager.lua +++ b/core/certmanager.lua @@ -38,11 +38,11 @@ local luasec_major, luasec_minor = ssl._VERSION:match("^(%d+)%.(%d+)"); 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" |