aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-05-03 18:39:27 +0200
committerKim Alvefur <zash@zash.se>2015-05-03 18:39:27 +0200
commit8896368c298dc1d009dc56b38919e02b35f3214d (patch)
tree1db58cd52f622c3560457cf589cdc8e6326d28e6 /prosodyctl
parentec503579285d613085de37168feffa3ad9ea793d (diff)
parentf303d3dda826ebe6df8bc8a4534ee674291a4795 (diff)
downloadprosody-8896368c298dc1d009dc56b38919e02b35f3214d.tar.gz
prosody-8896368c298dc1d009dc56b38919e02b35f3214d.zip
Merge 0.10->trunk
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index e8fca0ce..ef436106 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -1146,7 +1146,7 @@ function commands.check(arg)
end
if (not (config.get(host, "anonymous_login")
or config.get(host, "authentication") == "anonymous"))
- and not x509_verify_identity(host, "_xmpp-client", cert) then
+ and not x509_verify_identity(host, "_xmpp-server", cert) then
print(" Not vaild for server-to-server connections to "..host..".")
cert_ok = false
end