aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-11-09 17:54:21 +0000
committerMatthew Wild <mwild1@gmail.com>2013-11-09 17:54:21 +0000
commit5ca285697c15e994ddc94193d282f9dcf82b84af (patch)
treeb2328de3d92dabc27ea08a9dda93f14318ccd592 /core
parenta3d76524d49ff15bafb4ef89376e74ba855c38d8 (diff)
downloadprosody-5ca285697c15e994ddc94193d282f9dcf82b84af.tar.gz
prosody-5ca285697c15e994ddc94193d282f9dcf82b84af.zip
certmanager: Fix order of options, so that the dynamic option is at the end of the array
Diffstat (limited to 'core')
-rw-r--r--core/certmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 5e829777..0503f40e 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -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