aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-02-05 17:21:05 +0100
committerKim Alvefur <zash@zash.se>2015-02-05 17:21:05 +0100
commit4468490bb444bbd3af2028e6df08141920e11432 (patch)
tree7b45a3c125229f619ac2247ebf4e9ecb0b43e240 /core
parent4e762a6e4d734859b307f4a753a6125cd78fc9da (diff)
downloadprosody-4468490bb444bbd3af2028e6df08141920e11432.tar.gz
prosody-4468490bb444bbd3af2028e6df08141920e11432.zip
certmanager: Fix previous commit
Diffstat (limited to 'core')
-rw-r--r--core/certmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 9a0c3deb..e016aa97 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -38,7 +38,7 @@ 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 = >= 2;
+ cipher_server_preference = luasec_version >= 2;
no_ticket = luasec_version >= 4;
no_compression = luasec_version >= 5;
single_dh_use = luasec_version >= 2;