From: Dr. Stephen Henson Date: Tue, 8 Feb 2011 18:25:57 +0000 (+0000) Subject: Set values to NULL after freeing them. X-Git-Tag: OpenSSL-fips-2_0-rc1~775 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9afe95099deec8a6d2fcfde323124c0945ee9b58;p=oweals%2Fopenssl.git Set values to NULL after freeing them. --- 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; } } }