]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Fix build with OpenSSL 1.0.2
authorJouni Malinen <j@w1.fi>
Sat, 5 Jan 2019 09:33:40 +0000 (11:33 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 5 Jan 2019 09:33:40 +0000 (11:33 +0200)
commit568e890e761274efd01f4c771242da1dc53820c7
treedf3a25b7ccfc8fb1e96ad9b71bb9e63ee5861cba
parentcc0a04ac86f7bb123043acf14f22e4301522c4dc
OpenSSL: Fix build with OpenSSL 1.0.2

SSL_use_certificate_chain_file() was added in OpenSSL 1.1.0, so need to
maintain the old version using SSL_use_certificate_file() for backwards
compatibility.

Fixes: 658c39809bf8 ("OpenSSL: Load chain certificates from client_cert file")
Signed-off-by: Jouni Malinen <j@w1.fi>
src/crypto/tls_openssl.c