aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/libjingle/files
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2006-05-10 19:53:40 +0800
committerlioux <lioux@FreeBSD.org>2006-05-10 19:53:40 +0800
commit7ebb0a78f43d5466bc68e5c0a9ee565fe54b4436 (patch)
tree279d293170d766d43bf2b30ea600f375a7714c79 /net-im/libjingle/files
parent88774e07ec177dec81fcd5d0214ea065e6838cf8 (diff)
downloadfreebsd-ports-gnome-7ebb0a78f43d5466bc68e5c0a9ee565fe54b4436.tar.gz
freebsd-ports-gnome-7ebb0a78f43d5466bc68e5c0a9ee565fe54b4436.tar.zst
freebsd-ports-gnome-7ebb0a78f43d5466bc68e5c0a9ee565fe54b4436.zip
Do not try to send the credentials full JID since jabber servers
only expect the JID user node. Submitted by: colby.dillion@gmail.com Obtained from: google-talk-open newsgroup
Diffstat (limited to 'net-im/libjingle/files')
-rw-r--r--net-im/libjingle/files/patch-talk__xmpp__saslplainmechanism.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-im/libjingle/files/patch-talk__xmpp__saslplainmechanism.h b/net-im/libjingle/files/patch-talk__xmpp__saslplainmechanism.h
new file mode 100644
index 000000000000..b6892aa4e16c
--- /dev/null
+++ b/net-im/libjingle/files/patch-talk__xmpp__saslplainmechanism.h
@@ -0,0 +1,11 @@
+--- talk/xmpp/saslplainmechanism.h.orig Wed May 10 07:43:35 2006
++++ talk/xmpp/saslplainmechanism.h Wed May 10 07:44:01 2006
+@@ -48,7 +48,7 @@
+
+ FormatXmppPassword credential;
+ credential.Append("\0", 1);
+- credential.Append(user_jid_.Str());
++ credential.Append(user_jid_.node());
+ credential.Append("\0", 1);
+ credential.Append(&password_);
+ el->AddText(Base64EncodeFromArray(credential.GetData(), credential.GetLength()));