Changeset

5902:c11c0761a682

certmanager: Fix order of options, so that the dynamic option is at the end of the array
author Matthew Wild <mwild1@gmail.com>
date Sat, 09 Nov 2013 17:54:21 +0000 (2013-11-09)
parents 5901:1d13f73af58e
children 5904:c1bc2c20a80a 5906:071a7e461ae7
files core/certmanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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