Skip to content

Commit

Permalink
fix: change toRep to toStr in handshakesettings
Browse files Browse the repository at this point in the history
  • Loading branch information
gstarovo committed Dec 12, 2024
1 parent 2388cb9 commit c1b7ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tlslite/handshakesettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ def _sanityCheckExtensions(other):
not 64 <= other.record_size_limit <= 2**14 + 1:
raise ValueError("record_size_limit cannot exceed 2**14+1 bytes")

bad_ec_ext = [ECPointFormat.toRepr(rep) for rep in other.ec_point_formats if
bad_ec_ext = [ECPointFormat.toStr(rep) for rep in other.ec_point_formats if
rep not in EC_POINT_FORMATS]
if bad_ec_ext:
raise ValueError("Unknown EC point format provided: "
Expand Down

0 comments on commit c1b7ff2

Please sign in to comment.