prosody

changeset 2321
7e7484a4e821
parent 2159
b8635ebd7f57
child 2322
548a4fc54a74
child 2769
826f6fb7036d
--- a/prosody	Fri Dec 04 14:41:53 2009 +0000
+++ b/prosody	Fri Dec 04 09:48:08 2009 -0800
@@ -177,7 +177,7 @@
 	-- Load SSL settings from config, and create a ctx table
 	local global_ssl_ctx = rawget(_G, "ssl") and config.get("*", "core", "ssl");
 	if global_ssl_ctx then
-		local default_ssl_ctx = { mode = "server", protocol = "sslv23", capath = "/etc/ssl/certs", verify = "none"; };
+		local default_ssl_ctx = { mode = "server", protocol = "sslv23", capath = "/etc/ssl/certs", verify = "none", options = "no_sslv2"; };
 		setmetatable(global_ssl_ctx, { __index = default_ssl_ctx });
 	end
 

mercurial