fix bug in xmpppy about SASL with TLS

This commit is contained in:
Yann Leboulanger 2005-11-05 15:23:33 +00:00
parent b96c24fe77
commit 969bd9fa0d
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ class SASL(PlugIn):
resp['cnonce']=cnonce resp['cnonce']=cnonce
resp['nc']=('00000001') resp['nc']=('00000001')
resp['qop']='auth' 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']]) A1=C([H(C([resp['username'],resp['realm'],self.password])),resp['nonce'],resp['cnonce']])
A2=C(['AUTHENTICATE',resp['digest-uri']]) A2=C(['AUTHENTICATE',resp['digest-uri']])
response= HH(C([HH(A1),resp['nonce'],resp['nc'],resp['cnonce'],resp['qop'],HH(A2)])) response= HH(C([HH(A1),resp['nonce'],resp['nc'],resp['cnonce'],resp['qop'],HH(A2)]))