From de8f1f39e72d3294adcc91dcf61d63fe0477d6f4 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Wed, 31 Aug 2016 10:41:11 -0400 Subject: HMAC_RNG ignored its entropy_source argument :( --- src/lib/rng/hmac_rng/hmac_rng.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/rng') diff --git a/src/lib/rng/hmac_rng/hmac_rng.cpp b/src/lib/rng/hmac_rng/hmac_rng.cpp index d66c538ab..081d8b38a 100644 --- a/src/lib/rng/hmac_rng/hmac_rng.cpp +++ b/src/lib/rng/hmac_rng/hmac_rng.cpp @@ -16,7 +16,7 @@ HMAC_RNG::HMAC_RNG(std::unique_ptr prf, RandomNumberGenerator& underlying_rng, Entropy_Sources& entropy_sources, size_t reseed_interval) : - Stateful_RNG(underlying_rng, reseed_interval), + Stateful_RNG(underlying_rng, entropy_sources, reseed_interval), m_prf(std::move(prf)) { BOTAN_ASSERT_NONNULL(m_prf); -- cgit v1.2.3