]> git.ipfire.org Git - thirdparty/openvpn.git/commit
init_key_ctx: key and iv arguments can (now) be const
authorSteffan Karger <steffan.karger@fox-it.com>
Mon, 19 Jun 2017 11:51:05 +0000 (13:51 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 27 Jun 2017 18:06:55 +0000 (20:06 +0200)
commit5e6e4b7d21150ea2f0738948d5a9bd0c7d910e1a
treeee211e186fa79e036c0449ddc5cc57450a6a874f
parent26345ba61b8d5bccb1331894ab6d1468e3b09adf
init_key_ctx: key and iv arguments can (now) be const

In older OpenSSL, the key and iv arguments of EVP_CipherInit_ex() were not
const, which meant that our API could not be const either.  Since we
dropped support for OpenSSL 0.9.8, we can now fix our internal API.

Signed-off-by: Steffan Karger <steffan.karger@fox-it.com>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <1497873065-2229-1-git-send-email-steffan.karger@fox-it.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14881.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/crypto.c
src/openvpn/crypto.h
src/openvpn/crypto_backend.h
src/openvpn/crypto_mbedtls.c
src/openvpn/crypto_openssl.c