Commit 8e71af33 authored by Yann Leboulanger's avatar Yann Leboulanger

fix typo

parent 2523fba6
......@@ -25,11 +25,8 @@ from protocol import NS_SASL, NS_SESSION, NS_STREAMS, NS_BIND, NS_AUTH
from protocol import NS_STREAM_MGMT
from protocol import Node, NodeProcessed, isResultNode, Iq, Protocol, JID
from plugin import PlugIn
from smacks import Smacks
import base64
import itertools
import dispatcher_nb
import hashlib
import hmac
import hashlib
......@@ -434,7 +431,7 @@ class SASL(PlugIn):
else:
self.resp['realm'] = self._owner.Server
self.resp['nonce'] = chal['nonce']
self.resp['cnonce'] = '%x' % rngd.getrandbits(196)
self.resp['cnonce'] = '%x' % rndg.getrandbits(196)
self.resp['nc'] = ('00000001')
self.resp['qop'] = 'auth'
self.resp['digest-uri'] = 'xmpp/' + self._owner.Server
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment