drbg: The drbg instance owns the entropy rng
This commit is contained in:
committed by
Tobias Brunner
parent
ccaedf8761
commit
11e9d2b8d1
@@ -1279,7 +1279,6 @@ METHOD(crypto_tester_t, test_drbg, bool,
|
||||
|
||||
failure:
|
||||
drbg->destroy(drbg);
|
||||
entropy->destroy(entropy);
|
||||
chunk_free(&out);
|
||||
if (failed)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user