Diff

core/certmanager.lua @ 6569:e6ff3ec99f24

certmanager: Fix previous commit
author Kim Alvefur <zash@zash.se>
date Thu, 05 Feb 2015 17:21:05 +0100
parent 6568:b54b33f59c6e
child 6570:70e65ac65219
line wrap: on
line diff
--- 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;