]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Ensure using const variables with EVP_PKEY_get0_*
authorArne Schwabe <arne@rfc2549.org>
Thu, 8 Apr 2021 13:36:26 +0000 (15:36 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 18 Apr 2021 20:05:11 +0000 (22:05 +0200)
commit6fc292d2ed008a53061ce953dea6ff1e692e6723
tree16df644b635cb4417596491e716760f3cd09820e
parent8d109f68fd277b3e00ba7bef61a172b4130c35b8
Ensure using const variables with EVP_PKEY_get0_*

These functions return const pointers in OpenSSL 3.0.0alpha14, so
our pointers should be also const to avoid casting the const away.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20210408133626.29232-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22081.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl_openssl.c