diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-02-08 18:25:57 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-02-08 18:25:57 +0000 |
commit | 9afe95099deec8a6d2fcfde323124c0945ee9b58 (patch) | |
tree | 1f0cd07e321ed1f0504571e2a3215426d187c1b3 | |
parent | 9dd346c90d4db6d5db23c143fcbb95c6a7fd05e1 (diff) |
Set values to NULL after freeing them.
-rw-r--r-- | fips/aes/fips_gcmtest.c | 1 |
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; } } } |