projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure any allocated MAC is freed in the provider code
[openssl.git]
/
providers
/
implementations
/
ciphers
/
cipher_tdes_common.c
diff --git
a/providers/implementations/ciphers/cipher_tdes_common.c
b/providers/implementations/ciphers/cipher_tdes_common.c
index 4e50450e4dcf5ed330ec4fcd9591360f3887b8d3..6cdc88749c0cca69398b3438356cc376c10539a8 100644
(file)
--- a/
providers/implementations/ciphers/cipher_tdes_common.c
+++ b/
providers/implementations/ciphers/cipher_tdes_common.c
@@
-48,6
+48,7
@@
void tdes_freectx(void *vctx)
{
PROV_TDES_CTX *ctx = (PROV_TDES_CTX *)vctx;
+ cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx);
OPENSSL_clear_free(ctx, sizeof(*ctx));
}