SASL: Fix traceback on non-hashing mechanism using channel binding.
This commit is contained in:
parent
7ddd37be29
commit
63d245ac48
@ -75,7 +75,7 @@ def sasl_mech(score):
|
|||||||
MECH_SEC_SCORES[mech.name] = mech.score
|
MECH_SEC_SCORES[mech.name] = mech.score
|
||||||
if mech.channel_binding:
|
if mech.channel_binding:
|
||||||
MECHANISMS[mech.name + '-PLUS'] = mech
|
MECHANISMS[mech.name + '-PLUS'] = mech
|
||||||
MECH_SEC_SCORES[name] = mech.score + 10
|
MECH_SEC_SCORES[mech.name] = mech.score + 10
|
||||||
return mech
|
return mech
|
||||||
return register
|
return register
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user