diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-27 06:26:39 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-27 06:26:39 +0100 |
commit | 63d245ac489da16d90cd22049559c3fc49382887 (patch) | |
tree | f67c8858c11b09a678fc12c5042a922660e3758c | |
parent | 7ddd37be2980f25bbdd432acc6dab61955cf0b22 (diff) | |
download | slixmpp-63d245ac489da16d90cd22049559c3fc49382887.tar.gz slixmpp-63d245ac489da16d90cd22049559c3fc49382887.tar.bz2 slixmpp-63d245ac489da16d90cd22049559c3fc49382887.tar.xz slixmpp-63d245ac489da16d90cd22049559c3fc49382887.zip |
SASL: Fix traceback on non-hashing mechanism using channel binding.
-rw-r--r-- | slixmpp/util/sasl/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/util/sasl/client.py b/slixmpp/util/sasl/client.py index d5daf4be..745eca20 100644 --- a/slixmpp/util/sasl/client.py +++ b/slixmpp/util/sasl/client.py @@ -75,7 +75,7 @@ def sasl_mech(score): MECH_SEC_SCORES[mech.name] = mech.score if mech.channel_binding: MECHANISMS[mech.name + '-PLUS'] = mech - MECH_SEC_SCORES[name] = mech.score + 10 + MECH_SEC_SCORES[mech.name] = mech.score + 10 return mech return register |