commit | f2394d14d81df436b263ff104eb6efc915cbdfc6 | [log] [tgz] |
---|---|---|
author | Bob Beck <bbe@google.com> | Tue Jan 07 01:40:45 2025 +0000 |
committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 07 11:06:15 2025 -0800 |
tree | f0421323bc6f62d4d07a8e839fe620142ffff3f9 | |
parent | a66e808c0f15a42b6e9b5b5c42cc02d458835da1 [diff] |
Stop playing with time strings with strlcat In ASN1_TIME_to_generalizedtime we were already parsing the input time string to check for validity at the start of the function. Instead of throwing away the tm we construct to do this, keep the tm, and just convert the time normally to what we want after the check instead of messing with the original string. Change-Id: I32b351abd135b1f9c30b228c09718c5be994187a Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/74848 Reviewed-by: Adam Langley <agl@google.com> Commit-Queue: Bob Beck <bbe@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:
To file a security issue, use the Chromium process and mention in the report this is for BoringSSL. You can ignore the parts of the process that are specific to Chromium/Chrome.
There are other files in this directory which might be helpful: