-
Notifications
You must be signed in to change notification settings - Fork 776
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement the downgrade protection signal in DTLS 1.3
This was originally looking for the client to specifically support the final TLS 1.3 version 0x0304. This has a side effect of not picking up DTLS 1.3, which has a different codepoint. We did it this way because, early in TLS 1.3's development, we had draft versions of TLS 1.3 flying around, and only the final TLS 1.3 can safely ship enforcing this check. Those draft versions are now gone, and this check is now getting in the way of DTLS 1.3. Switch it to checking hs->max_version. Bug: 42290594 Change-Id: Ic2d143af965b4b8bafef524f3f0e85cc3efa42fe Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/73728 Commit-Queue: David Benjamin <[email protected]> Reviewed-by: Nick Harper <[email protected]>
- Loading branch information
Showing
3 changed files
with
49 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters