diff options
author | Matt Caswell <matt@openssl.org> | 2018-07-17 10:47:08 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-07-17 10:47:08 +0100 |
commit | 2192b49dfee982638320c52b42298dc540ea3552 (patch) | |
tree | fe80715fc4a94a22717be258d75c61ed90610702 /gost_grasshopper_cipher.h | |
parent | 28314b3bcf3f6111a51b42c0168eaa30a938a40d (diff) | |
download | gost-engine-2192b49dfee982638320c52b42298dc540ea3552.zip gost-engine-2192b49dfee982638320c52b42298dc540ea3552.tar.gz gost-engine-2192b49dfee982638320c52b42298dc540ea3552.tar.bz2 |
Fix a mem leak
Ensure the grasshopper ciphers are destroyed on engine destroy.
Diffstat (limited to 'gost_grasshopper_cipher.h')
-rw-r--r-- | gost_grasshopper_cipher.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gost_grasshopper_cipher.h b/gost_grasshopper_cipher.h index edd45a4..08aac05 100644 --- a/gost_grasshopper_cipher.h +++ b/gost_grasshopper_cipher.h @@ -100,6 +100,8 @@ extern const EVP_CIPHER* cipher_gost_grasshopper_ofb(); extern const EVP_CIPHER* cipher_gost_grasshopper_cfb(); extern const EVP_CIPHER* cipher_gost_grasshopper_ctr(); +void cipher_gost_grasshopper_destroy(void); + #if defined(__cplusplus) } #endif |