]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix EVP_CIPHER_CTX_rand_key()
authorMatt Caswell <matt@openssl.org>
Fri, 19 Apr 2019 15:21:10 +0000 (16:21 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 23 Apr 2019 09:48:59 +0000 (10:48 +0100)
commit361ecb1d1a4d6d113a6a9cedcc272d3b09c485bd
tree2706bca6963771903ba7cff4af120c422d8afe2e
parenta5cf198bad4c49c2850e16c34d929c28a37afcc3
Fix EVP_CIPHER_CTX_rand_key()

Make sure we use the the correct key length in EVP_CIPHER_CTX_rand_key().
Now that ciphers may come from providers we need to make sure we ask the
provider for the value if appropriate.

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/8794)
crypto/evp/evp_enc.c