pion / dtls

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

Add test for ServerKeyExchange and PSK #636

Closed Sean-Der closed 5 months ago

Sean-Der commented 5 months ago

Assert that ServerKeyExchange is only sent with PSKIdentityHint is set on the server side.

Resolves #389

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.07%. Comparing base (cb62aac) to head (df5b723).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #636 +/- ## ========================================== + Coverage 79.96% 80.07% +0.11% ========================================== Files 101 101 Lines 5306 5306 ========================================== + Hits 4243 4249 +6 + Misses 688 684 -4 + Partials 375 373 -2 ``` | [Flag](https://app.codecov.io/gh/pion/dtls/pull/636/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion) | Coverage Δ | | |---|---|---| | [go](https://app.codecov.io/gh/pion/dtls/pull/636/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion) | `80.10% <100.00%> (+0.11%)` | :arrow_up: | | [wasm](https://app.codecov.io/gh/pion/dtls/pull/636/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion) | `63.85% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.