]> git.ipfire.org Git - thirdparty/openvpn.git/commit
OpenSSL: don't use direct access to the internal of X509_STORE
authorEmmanuel Deloget <logout@free.fr>
Fri, 17 Feb 2017 22:00:41 +0000 (23:00 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 22 Feb 2017 20:58:54 +0000 (21:58 +0100)
commit24bca7bee2ee5c48880a197ce9727bbc5a0149e5
tree33eaada378ca15f56b735fad5e31cde394456a82
parentb936ddfb631e3a4b219bd035f7110da5679b2d12
OpenSSL: don't use direct access to the internal of X509_STORE

OpenSSL 1.1 does not allow us to directly access the internal of
any data type, including X509_STORE. We have to use the defined functions
to do so.

Compatibility with OpenSSL 1.0 is kept by defining the corresponding
functions when they are not found in the library.

Signed-off-by: Emmanuel Deloget <logout@free.fr>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <8e6d66e3a9a40abb3d7c99c48ba59bad1037d0ef.1487368114.git.logout@free.fr>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14076.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit f05665df4150c6a345eec5432a02fd799bea0f2c)
configure.ac
src/openvpn/openssl_compat.h
src/openvpn/ssl_openssl.c
src/openvpn/ssl_verify_openssl.c