aboutsummaryrefslogtreecommitdiffstats
path: root/core/certmanager.lua
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
commitf71511593905934d2311b214b867a63a5e06d541 (patch)
tree7b45a3c125229f619ac2247ebf4e9ecb0b43e240 /core/certmanager.lua
parent664c92cddeaa7ec7e83ff29a62d6f5f701d0ae33 (diff)
downloadprosody-f71511593905934d2311b214b867a63a5e06d541.tar.gz
prosody-f71511593905934d2311b214b867a63a5e06d541.zip
certmanager: Fix previous commit
Diffstat (limited to 'core/certmanager.lua')
-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;