Skip to content

Commit ccb3bb3

Browse files
committed
silence pylint
1 parent 48fac57 commit ccb3bb3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tlslite/utils/ecc.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ def decodeX962Point(data, curve=ecdsa.NIST256p):
2424
raise DecodeError("Zero as key share from peer")
2525
if not curve.curve.contains_point(xCoord, yCoord):
2626
raise DecodeError("Key share from peer is not a valid point on curve")
27+
# pylint: disable=c-extension-no-member
2728
return ecdsa.ellipticcurve.PointJacobi(curve.curve, xCoord, yCoord, 1)
28-
29+
# pylint: enable=c-extension-no-member
2930

3031
def encodeX962Point(point):
3132
"""Encode a point in X9.62 format"""

0 commit comments

Comments
 (0)