diff options
author | Jakub Zelenka <jakub.openssl@gmail.com> | 2024-12-13 13:47:25 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2025-01-06 11:45:02 +0100 |
commit | 24dd635efff48a24daf1e38a256550253225a28e (patch) | |
tree | 50d09d1e6ccfe44c1dfdcff7a89cf3fc0ac34d29 /apps | |
parent | Optimize x86/aarch64 MD5 implementation (diff) | |
download | openssl-24dd635efff48a24daf1e38a256550253225a28e.tar.xz openssl-24dd635efff48a24daf1e38a256550253225a28e.zip |
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)
Diffstat (limited to '')
-rw-r--r-- | apps/cms.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/cms.c b/apps/cms.c index 11b7b923b3..1ad409040d 100644 --- a/apps/cms.c +++ b/apps/cms.c @@ -1296,6 +1296,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); |