commit | ec783839be5830d8893e60566909ef5c9fb25334 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Tue Jul 25 23:23:03 2017 -0400 |
committer | David Benjamin <davidben@google.com> | Wed Jul 26 22:02:00 2017 +0000 |
tree | b70c7f9e1e1b91d0a41cd4ad97d394f1ecc184ed | |
parent | d4e37951b4683471de5fc7e8d86c1636e9a9e062 [diff] |
Make ranged for loops work with STACK_OF(T). My original plan here was to make STACK_OF(T) expand to a template so the inner type were extractable. Unfortunately, we cannot sanely make STACK_OF(T) expand to a different type in C and C++ even across compilation units because UBSan sometimes explodes. This is nuts, but so it goes. Instead, use StackTraits to extract the STACK_OF(T) parameters and define an iterator type. Bug: 189 Change-Id: I64f5173b34b723ec471f7a355ff46b04f161386a Reviewed-on: https://boringssl-review.googlesource.com/18467 Reviewed-by: David Benjamin <davidben@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.
There are other files in this directory which might be helpful: