]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Use library wrapper functions to access cert store
authorJouni Malinen <j@w1.fi>
Tue, 3 Feb 2015 23:58:37 +0000 (01:58 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 3 Feb 2015 23:58:37 +0000 (01:58 +0200)
commit68ae4773a40b601126fc1f7cf5284e159c84ab3d
tree3b646b7b73da66b4cd2c1877c6a0ad75656c6b66
parentc4f34de90d6059c2c6c6428a06ea68421b6fd2dc
OpenSSL: Use library wrapper functions to access cert store

OpenSSL 0.9.8 and newer includes SSL_CTX_get_cert_store() and
SSL_CTX_set_cert_store() helper functions, so there is no need to
dereference the SSL_CTX pointer to cert ssl_ctx->cert_store. This helps
in working with the future OpenSSL 1.1.0 release that makes the SSL_CTX
structure opaque.

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