Skip to content

Commit

Permalink
irctest.client_tests.test_sasl: Fix ECDSA not being supported
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielOaks committed Dec 20, 2015
1 parent c52e78d commit 5028125
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions irctest/client_tests/test_sasl.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ def testEcdsa(self):
ecdsa_key=ECDSA_KEY,
)
m = self.negotiateCapabilities(['sasl'], auth=auth)
if m.params == ['END']:
# ECDSA-NIST256P-CHALLENGE not supported
return True
self.assertEqual(m, Message([], None, 'AUTHENTICATE', ['ECDSA-NIST256P-CHALLENGE']))
self.sendLine('AUTHENTICATE +')
m = self.getMessage()
Expand Down

0 comments on commit 5028125

Please sign in to comment.