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

OpenSSL 1.1 does not allow us to directly access the internal of
any data type, including X509_OBJECT. 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: <c849c9778d2b2faa4eb4d31367b37d993da5eb85.1487368114.git.logout@free.fr>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14080.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
configure.ac
src/openvpn/openssl_compat.h
src/openvpn/ssl_openssl.c
src/openvpn/ssl_verify_openssl.c