diff options
author | lloyd <[email protected]> | 2013-11-09 15:59:52 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-11-09 15:59:52 +0000 |
commit | 350ff990289a2f64257c7deb509dbc0130905ae9 (patch) | |
tree | 4218287de40a8490a6d09378b26d8ee2350bda3d /checks | |
parent | 6a73ec9e897d4fa4a45e0f7cfbff3c9dd8bfd372 (diff) |
Create RNG early so it is easy to check reseed times
Diffstat (limited to 'checks')
-rw-r--r-- | checks/check.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checks/check.cpp b/checks/check.cpp index 374eff964..6760d91ca 100644 --- a/checks/check.cpp +++ b/checks/check.cpp @@ -138,6 +138,8 @@ int main(int argc, char* argv[]) #endif } + Botan::AutoSeeded_RNG rng; + if(opts.is_set("help") || argc <= 1) { std::cerr << "Test driver for " @@ -151,8 +153,6 @@ int main(int argc, char* argv[]) return 1; } - Botan::AutoSeeded_RNG rng; - if(opts.is_set("validate") || opts.is_set("test")) { return run_test_suite(rng); |