]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Fix build with current BoringSSL
authorJouni Malinen <jouni@codeaurora.org>
Tue, 19 Mar 2019 16:15:28 +0000 (18:15 +0200)
committerJouni Malinen <jouni@codeaurora.org>
Tue, 19 Mar 2019 16:24:09 +0000 (18:24 +0200)
commitbf84e78cbce32f4fff0d7a637ea096b85a52b6bf
treefe0c14493f5bded9a59cf2e6d102d6d54de8b0bb
parent7f1eeda2df0fbaf9355bb8621a33afdc32e0e15c
OpenSSL: Fix build with current BoringSSL

SSL_use_certificate_chain_file() is not available in the current
BoringSSL even though the defined OPENSSL_VERSION_NUMBER is large enough
to claim that this function would be present in the OpenSSL API.

Fall back to using SSL_use_certificate_file() with BoringSSL to fix the
build.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/crypto/tls_openssl.c