Skip to content

Commit c1b7ff2

Browse files
committed
fix: change toRep to toStr in handshakesettings
1 parent 2388cb9 commit c1b7ff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tlslite/handshakesettings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ def _sanityCheckExtensions(other):
658658
not 64 <= other.record_size_limit <= 2**14 + 1:
659659
raise ValueError("record_size_limit cannot exceed 2**14+1 bytes")
660660

661-
bad_ec_ext = [ECPointFormat.toRepr(rep) for rep in other.ec_point_formats if
661+
bad_ec_ext = [ECPointFormat.toStr(rep) for rep in other.ec_point_formats if
662662
rep not in EC_POINT_FORMATS]
663663
if bad_ec_ext:
664664
raise ValueError("Unknown EC point format provided: "

0 commit comments

Comments
 (0)