Fix originator cert leak in cms app
Reviewed-by: Hugo Landau <hlandau@devever.net>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26014)
(cherry picked from commit 24dd635eff
)
This commit is contained in:
parent
f542c053da
commit
9748da2110
1 changed files with 1 additions and 0 deletions
|
@ -1297,6 +1297,7 @@ int cms_main(int argc, char **argv)
|
|||
X509_free(cert);
|
||||
X509_free(recip);
|
||||
X509_free(signer);
|
||||
X509_free(originator);
|
||||
EVP_PKEY_free(key);
|
||||
EVP_CIPHER_free(cipher);
|
||||
EVP_CIPHER_free(wrap_cipher);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue