]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Use EVP_CIPHER_CTX_new() to work with OpenSSL 1.1.0
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 14 Jan 2016 17:30:24 +0000 (19:30 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 14 Jan 2016 17:30:24 +0000 (19:30 +0200)
commit1eb87ae48d829b77e805de9ba71f958b53930c88
tree448d925362aa2b3035929a51b453005c59b20bed
parent3fb3bea8e9cc491cb92201567f112bba221e32a3
OpenSSL: Use EVP_CIPHER_CTX_new() to work with OpenSSL 1.1.0

The EVP_CIPHER_CTX structure will be made opaque in OpenSSL 1.1.0, so
need to use EVP_CIPHER_CTX_new() with it instead of stack memory. The
design here moves the older OpenSSL versions to use that dynamic
allocation design as well to minimize maintenance effort.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/crypto/crypto_openssl.c