Re-implemented renegotiation extension to comply with RFC5746 and RFC5246
Description
In this pull request I have re-implemented the renegotiation extension headers to comply with RFC5746 and RFC5246. This is required for PionDTLS to work with WolfSSL which strictly follows these RFCs and stops to connection when the renegotiation extension is wrongly added to the ServerHello response.
Reference issue
Fixes #687
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 78.53%. Comparing base (f0c0987) to head (e3cf6bc).
:warning: Report is 1 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #711 +/- ##
==========================================
- Coverage 78.55% 78.53% -0.03%
==========================================
Files 101 101
Lines 6828 6834 +6
==========================================
+ Hits 5364 5367 +3
- Misses 1089 1092 +3
Partials 375 375
| Flag | Coverage Δ | |
|---|---|---|
| go | 78.55% <100.00%> (-0.03%) |
:arrow_down: |
| wasm | 57.15% <100.00%> (+0.03%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.