projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dd346c
)
Set values to NULL after freeing them.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 8 Feb 2011 18:25:57 +0000
(18:25 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 8 Feb 2011 18:25:57 +0000
(18:25 +0000)
fips/aes/fips_gcmtest.c
patch
|
blob
|
history
diff --git
a/fips/aes/fips_gcmtest.c
b/fips/aes/fips_gcmtest.c
index 9a10e18d7a9e1861d32880df7b4392d6a96d1a2e..039172081cf53e57557b48507058fd936d4b15c8 100644
(file)
--- 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;
}
}
}