aboutsummaryrefslogtreecommitdiff
path: root/gost_crypt.c
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2018-06-09 15:01:48 +0300
committerDmitry Belyavskiy <beldmit@gmail.com>2018-06-09 15:01:48 +0300
commit2810b8ebebeda933e723c33f8c9f893b76f2391a (patch)
tree32b43ab357310c302ffe58444cb351c1e620e494 /gost_crypt.c
parent78c3ffe75dfea328fd604f8e2f34338079e09c98 (diff)
downloadgost-engine-2810b8ebebeda933e723c33f8c9f893b76f2391a.zip
gost-engine-2810b8ebebeda933e723c33f8c9f893b76f2391a.tar.gz
gost-engine-2810b8ebebeda933e723c33f8c9f893b76f2391a.tar.bz2
Missing free
Diffstat (limited to 'gost_crypt.c')
-rw-r--r--gost_crypt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gost_crypt.c b/gost_crypt.c
index 27321f4..035a46a 100644
--- a/gost_crypt.c
+++ b/gost_crypt.c
@@ -236,6 +236,8 @@ void cipher_gost_destroy(void)
_hidden_Gost28147_89_cbc = NULL;
EVP_CIPHER_meth_free(_hidden_gost89_cnt_12);
_hidden_gost89_cnt_12 = NULL;
+ EVP_CIPHER_meth_free(_hidden_magma_cbc);
+ _hidden_magma_cbc = NULL;
}
/* Implementation of GOST 28147-89 in MAC (imitovstavka) mode */