commit | 41eb890f77090ea22e5403dd256fb4a622b79928 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Sun Jun 12 10:53:56 2022 -0400 |
committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 14 18:15:21 2022 +0000 |
tree | 450cc5ddc482ebcf3f2e06417fab32fd1f224dc4 | |
parent | 167f1760ddfeaea1ee1a671ca88aafcccfe30ee0 [diff] |
Rearrange the C11 vs MSVC check. Starting version 2019 16.8 (released November 2020), MSVC actually implements parts of C11, though disabled by default. You have to pass /std:c11, and then alignas, alignof, and noreturn all work. When built that way, better to use the real ones, so check for __STDC_VERSION__ first. It would be nice to mandate that so we can remove the polyfill, but for now just opportunistically use it when we can. Sadly, even in this mode, they still don't implement C11 atomics, so the refcounting implementation will still be slow. Change-Id: I28dab4a339c368f7d8f8da5aa7aee1cb344803d3 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/53006 Reviewed-by: Adam Langley <agl@google.com> Commit-Queue: David Benjamin <davidben@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: