Skip to content

Commit 89b5f80

Browse files
authored
fix: zschemas key_share (#476)
1 parent 1e860df commit 89b5f80

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

zcrypto_schemas/zcrypto.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,8 +661,7 @@ def getUnknowns(known, range, unknown="unknown"):
661661
"raw": Binary(),
662662
}), doc="The values in the SignedCertificateTimestampList of the Signed Certificate Timestamp, if present."),
663663
"supported_versions": ServerSupportedVersions(doc="The list of supported versions in the Supported Versions extension, if present (see https://tools.ietf.org/html/draft-ietf-tls-tls13-18#section-4.2.1)."),
664-
"key_share": SubRecord({
665-
CurveID(doc="Negotiated TLS 1.3 key exchange group (NamedGroup/CurveID)."),}),
664+
"key_share": CurveID(doc="Negotiated TLS 1.3 key exchange group (NamedGroup/CurveID)."),
666665
"alpn_protocol": String(doc="This contains the selected protocol from the Application-Layer Protocol Negotiation extension, if present (see https://tools.ietf.org/html/rfc7301)."),
667666
"extension_identifiers": ListOf(Unsigned16BitInteger(), category="Extension Identifiers", doc="The list of unparsed TLS extension identifiers in handshake."),
668667
"unknown_extensions": ListOf(Binary(), doc="A list of any unrecognized extensions in raw form."),

0 commit comments

Comments
 (0)