1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

remember to always test before you commit....

This commit is contained in:
psyc://psyced.org/~lynX 2011-08-03 18:31:46 +02:00
parent 47fe829aee
commit 0cd6cbcb48

View file

@ -542,7 +542,7 @@ open_stream(XMLNode node) {
// sasl external if we know that it will succeed // sasl external if we know that it will succeed
// later on // later on
if (node["@from"] && if (node["@from"] &&
tls_check_service_identity(node["@from"], certinfo tls_check_service_identity(node["@from"], certinfo,
"xmpp-server")) { "xmpp-server")) {
packet += "<mechanisms xmlns='" NS_XMPP "xmpp-sasl'>"; packet += "<mechanisms xmlns='" NS_XMPP "xmpp-sasl'>";
packet += "<mechanism>EXTERNAL</mechanism>"; packet += "<mechanism>EXTERNAL</mechanism>";