diff options
author | Jack Lloyd <[email protected]> | 2020-06-16 09:18:33 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2020-06-16 09:18:33 -0400 |
commit | 5bfef3ce731a867a877ed01f856bd67240a81321 (patch) | |
tree | f21d8417bb8a898942d794cef976b86bb47712a7 /src/cli | |
parent | e98eb9deb02d4aacca14d947d5a8aab90cf7cf52 (diff) |
Fix timing test when system_rng is disabled
cli_make_rng expects the seed arg is a hex string
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/timing_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/timing_tests.cpp b/src/cli/timing_tests.cpp index 2a07fe164..8fb693ca9 100644 --- a/src/cli/timing_tests.cpp +++ b/src/cli/timing_tests.cpp @@ -69,7 +69,7 @@ class Timing_Test A constant seed is ok here since the timing test rng just needs to be "random" but not cryptographically secure - even std::rand() would be ok. */ - const std::string drbg_seed(64, '*'); + const std::string drbg_seed(64, 'A'); m_rng = cli_make_rng("", drbg_seed); // throws if it can't find anything to use } |