aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-08-31 10:41:11 -0400
committerJack Lloyd <[email protected]>2016-08-31 10:41:11 -0400
commitde8f1f39e72d3294adcc91dcf61d63fe0477d6f4 (patch)
tree0d561b1892529b9dc80f4ee203e2e6f3daf096bc /src
parent01e148ca3a3adce903b8e198325557c91947b006 (diff)
HMAC_RNG ignored its entropy_source argument :(
Diffstat (limited to 'src')
-rw-r--r--src/lib/rng/hmac_rng/hmac_rng.cpp2
1 files changed, 1 insertions, 1 deletions
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<MessageAuthenticationCode> 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);