certmanager: Fix order of options, so that the dynamic option is at the end of the...
authorMatthew Wild <mwild1@gmail.com>
Sat, 9 Nov 2013 17:54:21 +0000 (17:54 +0000)
committerMatthew Wild <mwild1@gmail.com>
Sat, 9 Nov 2013 17:54:21 +0000 (17:54 +0000)
core/certmanager.lua

index 5e8297778b6ec4245f092f098a94fea6c9ce298b..0503f40e903efe82edf28a386c3e52ac337d92ec 100644 (file)
@@ -33,7 +33,7 @@ module "certmanager"
 local default_ssl_config = configmanager.get("*", "ssl");
 local default_capath = "/etc/ssl/certs";
 local default_verify = (ssl and ssl.x509 and { "peer", "client_once", }) or "none";
-local default_options = { "no_sslv2", "no_sslv3", luasec_has_noticket and "no_ticket" or nil, "cipher_server_preference" };
+local default_options = { "no_sslv2", "no_sslv3", "cipher_server_preference", luasec_has_noticket and "no_ticket" or nil };
 local default_verifyext = { "lsec_continue", "lsec_ignore_purpose" };
 
 if ssl and not luasec_has_verifyext and ssl.x509 then