]> git.ipfire.org Git - thirdparty/openvpn.git/commit
OpenSSL: don't use direct access to the internal of EVP_CIPHER_CTX
authorEmmanuel Deloget <logout@free.fr>
Mon, 12 Jun 2017 13:43:28 +0000 (15:43 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 18 Jun 2017 12:54:23 +0000 (14:54 +0200)
commit6cbd48a3ead23f004f25943d067fa668efdc580e
treed9f860f28914d9fb4a178c2f8d2d0811534ae666
parentc481ef002803f360743c72727ae3ca971ce59a5d
OpenSSL: don't use direct access to the internal of EVP_CIPHER_CTX

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