aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/rng/auto_rng
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-09-04 19:29:59 -0400
committerJack Lloyd <[email protected]>2018-09-06 11:24:16 -0400
commit8cbe5195b2ea82bf7a58f1a3b8afcc8c53a7537b (patch)
treee24dba4d3e8df8024b8ffffc797d2d15c0908f76 /src/lib/rng/auto_rng
parent992d2803181b34415c25e013a40ab935eb71a9e3 (diff)
Add RandomNumberGenerator::accepts_input
Diffstat (limited to 'src/lib/rng/auto_rng')
-rw-r--r--src/lib/rng/auto_rng/auto_rng.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/rng/auto_rng/auto_rng.h b/src/lib/rng/auto_rng/auto_rng.h
index 49663cbea..8cb2c4a12 100644
--- a/src/lib/rng/auto_rng/auto_rng.h
+++ b/src/lib/rng/auto_rng/auto_rng.h
@@ -27,6 +27,8 @@ class BOTAN_PUBLIC_API(2,0) AutoSeeded_RNG final : public RandomNumberGenerator
bool is_seeded() const override;
+ bool accepts_input() const override { return true; }
+
/**
* Mark state as requiring a reseed on next use
*/