summaryrefslogtreecommitdiff
path: root/lib/crypto
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2018-10-12 09:59:56 -0700
committerOri Bernstein <ori@eigenstate.org>2018-10-12 09:59:56 -0700
commit6c0e6856de4a72b7d6ab99a184d213b18a3dea14 (patch)
tree55fd39742198a722e13e651e2850ea626b5a9947 /lib/crypto
parent954b2fd7a8a0a65a077b61a5932ed54d3e3ef6a5 (diff)
downloadmc-6c0e6856de4a72b7d6ab99a184d213b18a3dea14.tar.gz
Fix missing free in aesgcm (thanks mike)
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/test/aesgcm.myr2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/crypto/test/aesgcm.myr b/lib/crypto/test/aesgcm.myr
index 64f1973..2143131 100644
--- a/lib/crypto/test/aesgcm.myr
+++ b/lib/crypto/test/aesgcm.myr
@@ -69,6 +69,7 @@ const testenc = {tc, g, c
std.slfree(iv)
std.slfree(pt)
std.slfree(ect)
+ std.slfree(etag)
}
const testdec = {tc, g, c
@@ -97,6 +98,7 @@ const testdec = {tc, g, c
std.slfree(iv)
std.slfree(ct)
std.slfree(ept)
+ std.slfree(etag)
}
const unhex = {s