aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-02-05 16:56:28 +0100
committerKim Alvefur <zash@zash.se>2015-02-05 16:56:28 +0100
commit3581c7106770298b5e813bbbf8e20b22d125476f (patch)
treeaf71417f2b25d0954a4cbfc08fff2baff6c6fca3 /core
parentbf57457852e5e629a179266be549784c6ac0aeda (diff)
downloadprosody-3581c7106770298b5e813bbbf8e20b22d125476f.tar.gz
prosody-3581c7106770298b5e813bbbf8e20b22d125476f.zip
certmanager: Options that appear to be available since LuaSec 0.2
Diffstat (limited to 'core')
-rw-r--r--core/certmanager.lua6
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"