]> git.ipfire.org Git - thirdparty/openvpn.git/commit
OpenSSL: don't use direct access to the internal of EVP_MD_CTX
authorEmmanuel Deloget <logout@free.fr>
Mon, 12 Jun 2017 13:43:27 +0000 (15:43 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 18 Jun 2017 12:52:37 +0000 (14:52 +0200)
commitc481ef002803f360743c72727ae3ca971ce59a5d
treec11e9cf0e9980798483db01faef89d99109a6dd0
parent21a540f92bf65f39eb92967476eba0bcd2a34ef6
OpenSSL: don't use direct access to the internal of EVP_MD_CTX

OpenSSL 1.1 does not allow us to directly access the internal of
any data type, including EVP_MD_CTX. 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: <20170612134330.20971-6-logout@free.fr>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14793.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
configure.ac
src/openvpn/crypto_backend.h
src/openvpn/crypto_mbedtls.c
src/openvpn/crypto_openssl.c
src/openvpn/httpdigest.c
src/openvpn/misc.c
src/openvpn/openssl_compat.h
src/openvpn/openvpn.h
src/openvpn/push.c