summaryrefslogtreecommitdiffstats
path: root/fips/aes
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-02-08 18:25:57 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-02-08 18:25:57 +0000
commit9afe95099deec8a6d2fcfde323124c0945ee9b58 (patch)
tree1f0cd07e321ed1f0504571e2a3215426d187c1b3 /fips/aes
parent9dd346c90d4db6d5db23c143fcbb95c6a7fd05e1 (diff)
Set values to NULL after freeing them.
Diffstat (limited to 'fips/aes')
-rw-r--r--fips/aes/fips_gcmtest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fips/aes/fips_gcmtest.c b/fips/aes/fips_gcmtest.c
index 9a10e18d7a..039172081c 100644
--- a/fips/aes/fips_gcmtest.c
+++ b/fips/aes/fips_gcmtest.c
@@ -195,6 +195,7 @@ static void gcmtest(int encrypt)
OPENSSL_free(key);
if (tag)
OPENSSL_free(tag);
+ iv = aad = ct = pt = key = tag = NULL;
}
}
}