]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Fix build with old library versions that do not support TLS 1.3
authorJouni Malinen <quic_jouni@quicinc.com>
Wed, 4 May 2022 21:35:47 +0000 (00:35 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 5 May 2022 10:04:13 +0000 (13:04 +0300)
commitc8e822801d48317bb6293d076d15a105f58557e4
treed7c14b35fd93d6d7eaebbd76d196b1901442e884
parentc24e18e5c5029b5080ac54d3738a8106a6c4f859
OpenSSL: Fix build with old library versions that do not support TLS 1.3

The OCSP check here is specific to TLS 1.3 and the TLS1_3_VERSION value
is not available in older library versions. Comment this check out from
such cases since it is not applicable with such an old library.

Fixes: 10746875e27a ("OpenSSL: Allow no OCSP response when resuming a session with TLS 1.3")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/crypto/tls_openssl.c