aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--checks/check.cpp4
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);