# HG changeset patch # User Kim Alvefur # Date 1423153265 -3600 # Node ID e6ff3ec99f249ddf4c0a663b94d7253015196f38 # Parent b54b33f59c6e9615e875c8ad430219230618ffd6 certmanager: Fix previous commit diff -r b54b33f59c6e -r e6ff3ec99f24 core/certmanager.lua --- a/core/certmanager.lua Thu Feb 05 16:59:34 2015 +0100 +++ b/core/certmanager.lua Thu Feb 05 17:21:05 2015 +0100 @@ -38,7 +38,7 @@ 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;