diff options
author | Jack Lloyd <[email protected]> | 2018-09-04 19:29:59 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-09-06 11:24:16 -0400 |
commit | 8cbe5195b2ea82bf7a58f1a3b8afcc8c53a7537b (patch) | |
tree | e24dba4d3e8df8024b8ffffc797d2d15c0908f76 /src/tests/test_runner.cpp | |
parent | 992d2803181b34415c25e013a40ab935eb71a9e3 (diff) |
Add RandomNumberGenerator::accepts_input
Diffstat (limited to 'src/tests/test_runner.cpp')
-rw-r--r-- | src/tests/test_runner.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/test_runner.cpp b/src/tests/test_runner.cpp index f69f55c0d..8d3f9b72c 100644 --- a/src/tests/test_runner.cpp +++ b/src/tests/test_runner.cpp @@ -32,6 +32,8 @@ class Testsuite_RNG final : public Botan::RandomNumberGenerator m_a = m_b = m_c = m_d = 0; } + bool accepts_input() const override { return true; } + void add_entropy(const uint8_t data[], size_t len) override { for(size_t i = 0; i != len; ++i) |