commit | a6bae93bf835039b8ce31cf393f49e72029db76f | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Sat Jul 01 01:08:14 2017 -0400 |
committer | David Benjamin <davidben@google.com> | Wed Jul 05 20:32:47 2017 +0000 |
tree | 78b286809ec052dcb9e18fab6b27f4a23224d088 | |
parent | c94998ae9511add69918821f5700dab8da9207c0 [diff] |
Never set not_resumable on an immutable session. Once passed to the outside world, an SSL_SESSION is immutable. It is not thread-safe to set not_resumable. In most cases, the session is already expired anyway. In other cases, making all this remove session be unlink rather than destroy is sound and consistent with how we treat sessions elsewhere. In particular, SSL_CTX_free calls SSL_CTX_flush_sessions(0), and bulk-invalidating everything like this is interfering with some follow-up changes to improve the fuzzer. Change-Id: I2a19b8ce32d9effc1efaa72e934e015ebbbfbf9a Reviewed-on: https://boringssl-review.googlesource.com/17530 Reviewed-by: 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.
There are other files in this directory which might be helpful: