diff options
author | Matt Caswell <matt@openssl.org> | 2020-06-23 16:47:31 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-07-06 09:26:09 +0100 |
commit | 63ee6ec17714f5446a3656083e438ec941bdd542 (patch) | |
tree | 7b9bf4414eea1eb243b5aed8cda9b27f29c24bb9 /providers/implementations/ciphers/cipher_blowfish.c | |
parent | f29dbb08668318b84d7bca0bd63c585e0169545e (diff) | |
download | openssl-new-63ee6ec17714f5446a3656083e438ec941bdd542.tar.gz |
Ensure any allocated MAC is freed in the provider code
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12288)
Diffstat (limited to 'providers/implementations/ciphers/cipher_blowfish.c')
-rw-r--r-- | providers/implementations/ciphers/cipher_blowfish.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/providers/implementations/ciphers/cipher_blowfish.c b/providers/implementations/ciphers/cipher_blowfish.c index bb2fa88f6a..3eb4ebead2 100644 --- a/providers/implementations/ciphers/cipher_blowfish.c +++ b/providers/implementations/ciphers/cipher_blowfish.c @@ -27,6 +27,7 @@ static void blowfish_freectx(void *vctx) { PROV_BLOWFISH_CTX *ctx = (PROV_BLOWFISH_CTX *)vctx; + cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); OPENSSL_clear_free(ctx, sizeof(*ctx)); } |