diff options
Diffstat (limited to 'checks/check.cpp')
-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 1f46b5b4c..952384a19 100644 --- a/checks/check.cpp +++ b/checks/check.cpp @@ -106,8 +106,6 @@ int main(int argc, char* argv[]) Botan::LibraryInitializer init("thread_safe=no"); - Botan::AutoSeeded_RNG rng; - if(opts.is_set("help") || argc <= 1) { std::cerr << "Test driver for " @@ -121,6 +119,8 @@ 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); |