Skip to content

Commit

Permalink
silence pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
tomato42 committed Jan 2, 2020
1 parent dde5bb5 commit 47db372
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tlslite/utils/ecc.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ def decodeX962Point(data, curve=ecdsa.NIST256p):
yCoord = bytesToNumber(parser.getFixBytes(bytelength))
assert xCoord and yCoord
assert curve.curve.contains_point(xCoord, yCoord)
# pylint: disable=c-extension-no-member
return ecdsa.ellipticcurve.PointJacobi(curve.curve, xCoord, yCoord, 1)
# pylint: enable=c-extension-no-member

def encodeX962Point(point):
"""Encode a point in X9.62 format"""
Expand Down

0 comments on commit 47db372

Please sign in to comment.