aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/tests.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-12-28 13:23:40 +0000
committerlloyd <[email protected]>2014-12-28 13:23:40 +0000
commit6322dc69fcf9f3effed4e51de90b3f5b163db47e (patch)
tree6cc5a7b12b5a6648f53b4b22003f9a28b425d1fa /src/tests/tests.h
parent69d883e83569dd81f02fbbd7dfbdcfc5a3918d49 (diff)
All tests now share an RNG. Uses system RNG if available
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r--src/tests/tests.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h
index 61cc405a0..9d39fdc19 100644
--- a/src/tests/tests.h
+++ b/src/tests/tests.h
@@ -2,13 +2,15 @@
#ifndef BOTAN_TESTS_H__
#define BOTAN_TESTS_H__
-#include <botan/build.h>
+#include <botan/rng.h>
#include <functional>
#include <istream>
#include <map>
#include <string>
#include <vector>
+Botan::RandomNumberGenerator& test_rng();
+
size_t run_tests_bb(std::istream& src,
const std::string& name_key,
const std::string& output_key,