s2smanager: require_s2s_encryption -> s2s_require_encryption

Sat, 30 Jan 2010 17:00:47 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 30 Jan 2010 17:00:47 +0000
changeset 2800
5880c621f082
parent 2799
0dc7b5ceaf8f
child 2801
0323bdb1fcfa

s2smanager: require_s2s_encryption -> s2s_require_encryption

core/s2smanager.lua file | annotate | diff | comparison | revisions
--- a/core/s2smanager.lua	Sat Jan 30 16:42:27 2010 +0000
+++ b/core/s2smanager.lua	Sat Jan 30 17:00:47 2010 +0000
@@ -451,7 +451,7 @@
 function make_authenticated(session, host)
 	if not session.secure then
 		local local_host = session.direction == "incoming" and session.to_host or session.from_host;
-		if config.get(local_host, "core", "require_s2s_encryption")) then
+		if config.get(local_host, "core", "s2s_require_encryption")) then
 			session:close({
 				condition = "policy-violation",
 				text = "Encrypted server-to-server communication is required but was not "

mercurial