commit | 350fe3bf32dcf87f281685b1e7fc8df876f396a8 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Wed Jun 02 17:58:53 2021 -0400 |
committer | Adam Langley <agl@google.com> | Thu Jun 10 16:41:40 2021 +0000 |
tree | 30d611f851d5c9d0cde4a42b816a82c433675e03 | |
parent | b32aa05538113798a07e086102ffb9d57dcdc6a8 [diff] |
Fix ext_pre_shared_key_clienthello_length calculation. If we're dropping the PSK extension due to an HRR with mismatched hash (looking back at that, we could easily have avoided that nuisance... I've filed [0] on rfc8446bis), we don't predict the length correctly. The consequence is we don't pad the second ClientHello to the desired range. Fix this and add an assert. [0] https://github.com/tlswg/tls13-spec/issues/1227 Change-Id: I47d880b6bdafa95840f7513b6b7718851f22554d Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/47998 Reviewed-by: Adam Langley <agl@google.com>
BoringSSL is a fork of OpenSSL that is designed to meet Google's needs.
Although BoringSSL is an open source project, it is not intended for general use, as OpenSSL is. We don't recommend that third parties depend upon it. Doing so is likely to be frustrating because there are no guarantees of API or ABI stability.
Programs ship their own copies of BoringSSL when they use it and we update everything as needed when deciding to make API changes. This allows us to mostly avoid compromises in the name of compatibility. It works for us, but it may not work for you.
BoringSSL arose because Google used OpenSSL for many years in various ways and, over time, built up a large number of patches that were maintained while tracking upstream OpenSSL. As Google's product portfolio became more complex, more copies of OpenSSL sprung up and the effort involved in maintaining all these patches in multiple places was growing steadily.
Currently BoringSSL is the SSL library in Chrome/Chromium, Android (but it's not part of the NDK) and a number of other apps/programs.
Project links:
There are other files in this directory which might be helpful: