Changeset

6567:d4a68d93ad04

certmanager: Options that appear to be available since LuaSec 0.2
author Kim Alvefur <zash@zash.se>
date Thu, 05 Feb 2015 16:56:28 +0100
parents 6566:1f396f0fe832
children 6568:b54b33f59c6e
files core/certmanager.lua
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/core/certmanager.lua	Thu Feb 05 16:20:50 2015 +0100
+++ b/core/certmanager.lua	Thu Feb 05 16:56:28 2015 +0100
@@ -38,11 +38,11 @@
 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"