]> git.ipfire.org Git - thirdparty/openvpn.git/commit
OpenSSL: don't use direct access to the internal of RSA_METHOD
authorEmmanuel Deloget <logout@free.fr>
Thu, 23 Feb 2017 14:35:56 +0000 (15:35 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 5 Mar 2017 09:51:56 +0000 (10:51 +0100)
commit44bac2926d6b445a7773a24bb7c295b54f4be35e
treecd8e388166d85260e46e5f84bd33c0d38898f350
parent2085c1f3875b9c96ac739941712247b805677efa
OpenSSL: don't use direct access to the internal of RSA_METHOD

OpenSSL 1.1 does not allow us to directly access the internal of
any data type, including RSA_METHOD. 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: <79d89580db6fd92c059dabc4f5f4d83b72bb9d3d.1487859361.git.logout@free.fr>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14175.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 09776c5b52df13121504e07894a26d5cd1883317)
configure.ac
src/openvpn/openssl_compat.h
src/openvpn/ssl_openssl.c