Fix the incorrect checks of EVP_CIPHER_CTX_rand_key
authorPeiwei Hu <jlu.hpw@foxmail.com>
Tue, 24 May 2022 14:59:41 +0000 (22:59 +0800)
committerTomas Mraz <tomas@openssl.org>
Fri, 27 May 2022 05:57:43 +0000 (07:57 +0200)
commitf15e3f3aa95df743f0da793da952f87370efb4ff
tree16e2cf08982c06bc342b0eceb24c566b207132ac
parent8d9fec1781751d2106d899c6076eeb3da6930bfe
Fix the incorrect checks of EVP_CIPHER_CTX_rand_key

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
test/evp_libctx_test.c