]> git.ipfire.org Git - thirdparty/openvpn.git/commit
OpenSSL: don't use direct access to the internal of EVP_PKEY
authorEmmanuel Deloget <logout@free.fr>
Mon, 12 Jun 2017 13:43:24 +0000 (15:43 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 18 Jun 2017 10:05:19 +0000 (12:05 +0200)
commitb8ca5bc3593e539d0735a74b55ed41a792e55033
tree43fd5323f2c4624bf3112199a190f1cef75dbe73
parent17d1ab90c228b1efbe774357bd3265b2af006899
OpenSSL: don't use direct access to the internal of EVP_PKEY

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