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 | 3581c7106770298b5e813bbbf8e20b22d125476f (patch) | |
tree | af71417f2b25d0954a4cbfc08fff2baff6c6fca3 | |
parent | bf57457852e5e629a179266be549784c6ac0aeda (diff) | |
download | prosody-3581c7106770298b5e813bbbf8e20b22d125476f.tar.gz prosody-3581c7106770298b5e813bbbf8e20b22d125476f.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" |