]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Skip SSL_OP_NO_TLSv1_3 if not defined to fix LibreSSL build
authorJouni Malinen <j@w1.fi>
Sat, 14 Apr 2018 20:48:42 +0000 (23:48 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 14 Apr 2018 21:01:35 +0000 (00:01 +0300)
commitdee566d98e85e00b917d3eff42cd7e969de089cc
treea380cf16ca5a1d59d5a2e1f5de92b37adea491d4
parentba3658cfff2278bc2ba24c32773962b37648d0b2
OpenSSL: Skip SSL_OP_NO_TLSv1_3 if not defined to fix LibreSSL build

LibreSSL v2.7 claims an OPENSSL_VERSION_NUMBER value that would indicate
that SSL_OP_NO_TLSv1_3 is available, but that does not seem to be the
case with LibreSSL. As such, skip this step based on whether
SSL_OP_NO_TLSv1_3 is defined to avoid build issues.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/crypto/tls_openssl.c