commit | ef1b0093444e62644f9cdec4e516705cb79bcf79 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Sat Nov 21 14:05:44 2015 -0500 |
committer | Adam Langley <alangley@gmail.com> | Fri Jan 15 20:08:52 2016 +0000 |
tree | 22ffec96b2b7be87931b6d9012681fe2024d1bfb | |
parent | dd1f6f4fbae4d420062fb7d7810badc754a909e2 [diff] |
Consider session if the client supports tickets but offered a session ID. This is a minor regression from https://boringssl-review.googlesource.com/5235. If the client, for whatever reason, had an ID-based session but also supports tickets, it will send non-empty ID + empty ticket extension. If the ticket extension is non-empty, then the ID is not an ID but a dummy signaling value, so 5235 avoided looking it up. But if it is present and empty, the ID is still an ID and should be looked up. This shouldn't have any practical consequences, except if a server switched from not supporting tickets and then started supporting it, while keeping the session cache fixed. Add a test for this case, and tighten up existing ID vs ticket tests so they fail if we resume with the wrong type. Change-Id: Id4d08cd809af00af30a2b67fe3a971078e404c75 Reviewed-on: https://boringssl-review.googlesource.com/6554 Reviewed-by: Adam Langley <alangley@gmail.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: