]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Use SSL_cache_hit() when available
authorJouni Malinen <j@w1.fi>
Wed, 4 Feb 2015 00:04:35 +0000 (02:04 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 4 Feb 2015 00:04:35 +0000 (02:04 +0200)
commitdb3168d414afec44e319e29233844800ebdc04b8
tree8b0ca115bf8dce51169f14928f58cae3583f5442
parent68ae4773a40b601126fc1f7cf5284e159c84ab3d
OpenSSL: Use SSL_cache_hit() when available

This is going to be required for OpenSSL 1.1.0 which makes the SSL
structure opaque. Older versions starting from OpenSSL 1.0.1 include
this function, so start using it now based on OPENSSL_VERSION_NUMBER.

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