commit | 52ef94f532b5f98d284943f83dc4d3392c198c28 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Thu May 01 10:43:26 2025 -0400 |
committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 02 10:01:24 2025 -0700 |
tree | 8ed2b4ebd221592ffab8df34e9022c3a2626b634 | |
parent | 35e07a80d8c8b35c390467f485a9be4202ed9ec1 [diff] |
Clean up ssl_file.cc - Use scopers - BIO_new + BIO_read_filename can be replaced with BIO_new_file (note BIO_read_filename is "rb", not "r", on Windows) - SSL_CTX_use_certificate_chain_file is more straightforward if we use SSL_CTX_add1_chain_cert. add0 doesn't even save a refcount bump because we internally transform it into a CRYPTO_BUFFER anyway. Bug: 394340436 Change-Id: I586214b6547d5d85e589242eb218d296223778c9 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/79010 Commit-Queue: David Benjamin <davidben@google.com> Auto-Submit: David Benjamin <davidben@google.com> 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:
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: