commit | 7d536388724a7df6eab1c9c510ffdfd0eb1a69e8 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Fri Jul 14 11:31:33 2017 -0400 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue Jul 18 16:28:41 2017 +0000 |
tree | 154c765d009e240d647a92bde5ee0527d09d3ff7 | |
parent | 71dfad4d108a520ef85922c13cb95395fba0ddef [diff] |
Use __NR_getrandom rather than SYS_getrandom. The former is defined by the kernel and is a straightforward number. The latter is defined by glibc as: #define SYS_getrandom __NR_getrandom which does not work when kernel headers are older than glibc headers. Instead, use the kernel values. Bug: chromium:742260 Change-Id: Id162f125db660643269e0b1329633437048575c4 Reviewed-on: https://boringssl-review.googlesource.com/17864 Commit-Queue: Adam Langley <agl@google.com> Reviewed-by: Adam Langley <agl@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
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.
There are other files in this directory which might be helpful: