summaryrefslogtreecommitdiff
path: root/sleekxmpp/thirdparty/suelta/mechanisms/digest_md5.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-02-18 11:56:10 -0800
committerLance Stout <lancestout@gmail.com>2012-02-18 11:56:10 -0800
commit977fcc06324d93422cb19e1550b280cd04e36f82 (patch)
treef6bbe985ba54ed4c0bc880cfb65eb66cc8412581 /sleekxmpp/thirdparty/suelta/mechanisms/digest_md5.py
parent94b57d232d0fd1198835a93a013e1f9ff715d5eb (diff)
downloadslixmpp-977fcc06324d93422cb19e1550b280cd04e36f82.tar.gz
slixmpp-977fcc06324d93422cb19e1550b280cd04e36f82.tar.bz2
slixmpp-977fcc06324d93422cb19e1550b280cd04e36f82.tar.xz
slixmpp-977fcc06324d93422cb19e1550b280cd04e36f82.zip
Fix instances of using undefined variables.
Diffstat (limited to 'sleekxmpp/thirdparty/suelta/mechanisms/digest_md5.py')
-rw-r--r--sleekxmpp/thirdparty/suelta/mechanisms/digest_md5.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/thirdparty/suelta/mechanisms/digest_md5.py b/sleekxmpp/thirdparty/suelta/mechanisms/digest_md5.py
index 5492c553..890f3e24 100644
--- a/sleekxmpp/thirdparty/suelta/mechanisms/digest_md5.py
+++ b/sleekxmpp/thirdparty/suelta/mechanisms/digest_md5.py
@@ -1,8 +1,10 @@
import sys
import random
+import hmac
from sleekxmpp.thirdparty.suelta.util import hash, bytes, quote
+from sleekxmpp.thirdparty.suelta.util import num_to_bytes, bytes_to_num
from sleekxmpp.thirdparty.suelta.sasl import Mechanism, register_mechanism
from sleekxmpp.thirdparty.suelta.exceptions import SASLError, SASLCancelled