certmanager: Fix order of options, so that the dynamic option is at the end of the array
authorMatthew Wild <mwild1@gmail.com>
Sat, 09 Nov 2013 17:54:21 +0000
changeset 5902 c11c0761a682
parent 5901 1d13f73af58e
child 5904 c1bc2c20a80a
child 5906 071a7e461ae7
certmanager: Fix order of options, so that the dynamic option is at the end of the array
core/certmanager.lua
--- a/core/certmanager.lua	Sat Nov 09 17:50:19 2013 +0000
+++ b/core/certmanager.lua	Sat Nov 09 17:54:21 2013 +0000
@@ -33,7 +33,7 @@
 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