commit | e75cc2766ca8e6d8a9378171f56d2d71882d7da9 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Thu Nov 03 18:06:27 2016 -0400 |
committer | Adam Langley <agl@google.com> | Tue Nov 08 23:03:06 2016 +0000 |
tree | 43cd343369489dec0ed809bde31aaa9b5f85e7b6 | |
parent | 0a011fc49fa15aa2cd1443bf512ef87958b34a43 [diff] |
Fix ssl3_send_new_session_ticket error-handling. If there is a malloc failure while assembling the ticket, call CBB_cleanup. Also return -1 instead of 0; zero means EOF in the old state machine and -1 means error. (Except enough of the stack gets it wrong that consumers handle both, but we should fix this.) Change-Id: I98541a9fa12772ec159f9992d1f9f53e5ca4cc5a Reviewed-on: https://boringssl-review.googlesource.com/12104 Commit-Queue: 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.
There are other files in this directory which might be helpful: