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:58:45 +0000 (07:58 +0200)
commitacd6338ff0afa31730a0cff62d993a8ebc63db5c
tree3e3a9bae859a2359121da6cf75f448d4238c6cdf
parentd3c5aff6cbf1ed6c855fb450b2caefbda8b9ce0f
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)

(cherry picked from commit 8d9fec1781751d2106d899c6076eeb3da6930bfe)
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