fix bug in xmpppy about SASL with TLS
This commit is contained in:
		
							parent
							
								
									b96c24fe77
								
							
						
					
					
						commit
						969bd9fa0d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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)])) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue