pion / dtls

DTLS 1.2 Server/Client implementation for Go
https://pion.ly/
MIT License
604 stars 158 forks source link

Export CipherSuiteID in connection State #586

Closed itviewer closed 1 year ago

itviewer commented 1 year ago

Description

This commit exports the CipherSuiteID in connection state for further use, e.g. to get the name of the CipherSuite via CipherSuiteName()

Reference issue

Fixes #584

codecov[bot] commented 1 year ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Files Coverage Δ
state.go 91.53% <100.00%> (+0.06%) :arrow_up:

... and 2 files with indirect coverage changes

:loudspeaker: Thoughts on this report? Let us know!.

daenney commented 1 year ago

This looks fine by me. Any thoughts @Sean-Der? I'll leave it up for a few days so other folks have a chance to see and comment it. If nothing happens I'll merge it in a few days.

daenney commented 1 year ago

@itviewer Thanks for the change!