From 63d245ac489da16d90cd22049559c3fc49382887 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 27 Oct 2016 06:26:39 +0100 Subject: [PATCH] SASL: Fix traceback on non-hashing mechanism using channel binding. --- slixmpp/util/sasl/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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