commit | 367d64f84c3c1d01381c18c5a239b85eef47633c | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Wed Apr 15 11:16:07 2020 -0400 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri Apr 17 18:40:28 2020 +0000 |
tree | c4e572eabeefd2e03f0a4afc158c63e514d04447 | |
parent | 8f3019e849afe428d0e29f34294a6328c8105b83 [diff] |
Fix error-handling in EVP_BytesToKey. This only matters on malloc failure and I think, even then, EVP_DigestInit_ex will only fail the first time around the loop so it wouldn't actually leak anything. Nonetheless, that should be a goto err. Change-Id: Ieea9db387f9c16915c3a0026c6fd48036da2cfef Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/40748 Reviewed-by: Steven Valdez <svaldez@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: