]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Fix TLS_CONN_TEAP_ANON_DH build with some library versions
authorJouni Malinen <j@w1.fi>
Sat, 13 Jul 2019 19:36:07 +0000 (22:36 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 13 Jul 2019 19:49:22 +0000 (22:49 +0300)
commit7456cf57d35df8301e39a956ba2f778ba92e815f
tree5a3ed263cbdcbb70c66ec1ba9a67d7788c5e12e1
parent20f1cfc5b295a08896f948e8abc70d6a2b69e59d
OpenSSL: Fix TLS_CONN_TEAP_ANON_DH build with some library versions

The OPENSSL_VERSION_NUMBER ifdef block left out the local variable that
is needed with all versions. In addition, SSL_set_security_level() is
not available with LibreSSL or BoringSSL.

Fixes: 3ec65a8e38a0 ("OpenSSL: Allow anon-DH cipher suites to be added for TEAP")
Signed-off-by: Jouni Malinen <j@w1.fi>
src/crypto/tls_openssl.c