Skip to content

Commit

Permalink
Enable Supported Signature Algorithms
Browse files Browse the repository at this point in the history
Enables parsing the supported signature algorithms extension.

https://datatracker.ietf.org/doc/html/rfc5246#autoid-39

Signed-off-by: Daniel Mangum <[email protected]>
  • Loading branch information
hasheddan committed Jul 6, 2023
1 parent 265bf11 commit cabe5b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/protocol/extension/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ func Unmarshal(buf []byte) ([]Extension, error) {
err = unmarshalAndAppend(buf[offset:], &SupportedEllipticCurves{})
case SupportedPointFormatsTypeValue:
err = unmarshalAndAppend(buf[offset:], &SupportedPointFormats{})
case SupportedSignatureAlgorithmsTypeValue:
err = unmarshalAndAppend(buf[offset:], &SupportedSignatureAlgorithms{})
case UseSRTPTypeValue:
err = unmarshalAndAppend(buf[offset:], &UseSRTP{})
case ALPNTypeValue:
Expand Down

0 comments on commit cabe5b8

Please sign in to comment.