]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Fix build with OpenSSL 1.0.2 and 1.1.0 and LibreSSL
authorJouni Malinen <j@w1.fi>
Sat, 13 Jul 2019 19:19:30 +0000 (22:19 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 13 Jul 2019 19:49:08 +0000 (22:49 +0300)
commit20f1cfc5b295a08896f948e8abc70d6a2b69e59d
tree728c60021caeddd154ba307720d59804b63065c9
parent36ec5881657157752dced741256441c230e42fe6
OpenSSL: Fix build with OpenSSL 1.0.2 and 1.1.0 and LibreSSL

The tls_connection_get_cipher_suite() implementation used
SSL_CIPHER_get_protocol_id which was added in OpenSSL 1.1.1. Need to use
compatibility code with older versions.

Fixes: 94714ec341cc ("OpenSSL: Add tls_connection_get_cipher_suite()")
Signed-off-by: Jouni Malinen <j@w1.fi>
src/crypto/tls_openssl.c