# HG changeset patch # User Matthew Wild # Date 1384019661 0 # Node ID c11c0761a6822493a379a6f55555c566fd8dcc04 # Parent 1d13f73af58ee1fef5e4e32adb50840f0b4b5d5e certmanager: Fix order of options, so that the dynamic option is at the end of the array diff -r 1d13f73af58e -r c11c0761a682 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