From 969bd9fa0d20993be59b32796148d7fd60b79a09 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 5 Nov 2005 15:23:33 +0000 Subject: [PATCH] fix bug in xmpppy about SASL with TLS --- src/common/xmpp/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/xmpp/auth.py b/src/common/xmpp/auth.py index 709942315..fc5c594b8 100644 --- a/src/common/xmpp/auth.py +++ b/src/common/xmpp/auth.py @@ -188,7 +188,7 @@ class SASL(PlugIn): resp['cnonce']=cnonce resp['nc']=('00000001') resp['qop']='auth' - resp['digest-uri']='xmpp/' + resp['digest-uri']='xmpp/'+self._owner.Server A1=C([H(C([resp['username'],resp['realm'],self.password])),resp['nonce'],resp['cnonce']]) A2=C(['AUTHENTICATE',resp['digest-uri']]) response= HH(C([HH(A1),resp['nonce'],resp['nc'],resp['cnonce'],resp['qop'],HH(A2)]))