Skip to content

Commit 265bf11

Browse files
committed
Enable Elliptic Curve Supported Point Formats
Enables parsing the elliptic curve supported points format extension. https://www.rfc-editor.org/rfc/rfc8422.html#section-5.1.2 Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
1 parent d7303d0 commit 265bf11

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/protocol/extension/extension.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ func Unmarshal(buf []byte) ([]Extension, error) {
6464
err = unmarshalAndAppend(buf[offset:], &ServerName{})
6565
case SupportedEllipticCurvesTypeValue:
6666
err = unmarshalAndAppend(buf[offset:], &SupportedEllipticCurves{})
67+
case SupportedPointFormatsTypeValue:
68+
err = unmarshalAndAppend(buf[offset:], &SupportedPointFormats{})
6769
case UseSRTPTypeValue:
6870
err = unmarshalAndAppend(buf[offset:], &UseSRTP{})
6971
case ALPNTypeValue:

0 commit comments

Comments
 (0)