]> git.ipfire.org Git - thirdparty/hostap.git/commit
Remove a host of unnecessary OPENSSL_IS_BORINGSSL ifdefs
authorDavid Benjamin <davidben@google.com>
Mon, 13 Jun 2022 16:22:05 +0000 (12:22 -0400)
committerJouni Malinen <j@w1.fi>
Thu, 28 Jul 2022 09:57:40 +0000 (12:57 +0300)
commitfaf9c04cb51c9c1b5f2a4599c57e6ba44f6d2428
tree52620cfc6e6f4fa07de905c830ed1a8262b815fc
parentb9cd5a82f4150d9264f159096a2f37f940055970
Remove a host of unnecessary OPENSSL_IS_BORINGSSL ifdefs

The <openssl/buf.h> include is relevant in both OpenSSL and BoringSSL
because the file uses BUF_MEM (include what you use). OpenSSL just
happened to include it via another file. OpenSSL also spells it
<openssl/buffer.h>, not matching the type, so use the compatible
spelling.

Additionally all the CHECKED_CAST and manual STACK_OF(T) definitions
call into BoringSSL internals. The correct, public APIs are simply to
just use the same code as OpenSSL and call the DEFINE_STACK_OF macros.

Signed-off-by: David Benjamin <davidben@google.com>
hs20/client/est.c
src/crypto/tls_openssl_ocsp.c
src/utils/http_curl.c