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

OpenSSL 1.1 does not allow us to directly access the internal of
any data type, including SSL_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: <a77187a66affdba318ef70e0e218b69cdad509d1.1487368114.git.logout@free.fr>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14088.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 6554ac9fed9c5680f22aa4722e6e07ebf3aa3441)
configure.ac
src/openvpn/openssl_compat.h [new file with mode: 0644]
src/openvpn/ssl_openssl.c