Fix the incorrect checks of EVP_CIPHER_CTX_set_key_length
authorPeiwei Hu <jlu.hpw@foxmail.com>
Tue, 24 May 2022 14:57:53 +0000 (22:57 +0800)
committerTomas Mraz <tomas@openssl.org>
Fri, 27 May 2022 05:57:43 +0000 (07:57 +0200)
commit8d9fec1781751d2106d899c6076eeb3da6930bfe
treedeec4da4593daac6aecf5cf605efaf1fd936a73b
parent7e5e91176b770a68bdaf73a5c647f1fc0d7f2900
Fix the incorrect checks of EVP_CIPHER_CTX_set_key_length

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18397)
apps/speed.c
crypto/cmac/cmac.c
crypto/evp/p_open.c
crypto/pkcs7/pk7_doit.c
providers/implementations/kdfs/krb5kdf.c
test/aesgcmtest.c