summaryrefslogtreecommitdiffstats
path: root/fips/rand/fips_drbg_selftest.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-03-21 14:40:57 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-03-21 14:40:57 +0000
commitbeb895083c4794c6134e05dc0fbf0a1a6b919b8e (patch)
treeee29ee052db3a9c306629387f82bc6fcd893e875 /fips/rand/fips_drbg_selftest.c
parent2d1122b802d2a0dedd3cb1da4eaaf73f79cc9d5e (diff)
Free DRBG context in self tests.
Diffstat (limited to 'fips/rand/fips_drbg_selftest.c')
-rw-r--r--fips/rand/fips_drbg_selftest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fips/rand/fips_drbg_selftest.c b/fips/rand/fips_drbg_selftest.c
index f580eafb4a..af21971ba0 100644
--- a/fips/rand/fips_drbg_selftest.c
+++ b/fips/rand/fips_drbg_selftest.c
@@ -1011,6 +1011,7 @@ int FIPS_selftest_drbg(void)
if (!fips_drbg_health_check(dctx, td))
break;
}
+ FIPS_drbg_free(dctx);
if (td->nid == 0)
return 1;
return 0;