Optimize out unneeded up_ref/free of EVP_CIPHER
authorTomas Mraz <tomas@openssl.org>
Tue, 26 Sep 2023 15:39:50 +0000 (17:39 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 5 Oct 2023 18:07:41 +0000 (20:07 +0200)
commit02ddffc2c9b3a5f27d9d1b393b6c3fa1d97b9eed
tree29530576d39ecc9d3044d4747ba9bebb43d949b7
parente941f3fcae07f5059a654c392fed4063975c8ea2
Optimize out unneeded up_ref/free of EVP_CIPHER

Fixes #22189

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22198)

(cherry picked from commit 8ed76c62b5d3214e807e684c06efd69c6471c800)
crypto/evp/evp_enc.c