commit | fa0214602cc5502c2d1e12cc4692d1045a993aba | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@chromium.org> | Mon Oct 07 14:38:12 2024 -0700 |
committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 07 21:56:06 2024 +0000 |
tree | 432e7cbf10d5fb98b0f9386cebe320dd89a70cf9 | |
parent | 5f8d56b74b97e3639826f372aae102a14d105aa2 [diff] |
Move `alignas` to start of declaration. Prior to Clang 19, the `alignas` keyword was being parsed in C23 mode (where it is newly a keyword, instead of a define) using the rules for C++ `alignas`, rather than the slightly-different C parsing rules. It was therefore not accepted after `static`, with `error: an attribute list cannot appear here`. Moving the `alignas` to the beginning of the declaration allows it to build with all versions. Thanks to James Knight for the change. Change-Id: I3c109895c47fe7db185a242f310ca07d1e66f609 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/71807 Commit-Queue: Bob Beck <bbe@google.com> Auto-Submit: Adam Langley <agl@google.com> Commit-Queue: Adam Langley <agl@google.com> Reviewed-by: 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: