aboutsummaryrefslogtreecommitdiffstats
path: root/checks/common.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-27 17:00:56 +0000
committerlloyd <[email protected]>2008-06-27 17:00:56 +0000
commit89382c8d6e8861e702def6a6e695fc2b783e7f09 (patch)
treee479233393d84ee88c5ae2f08889f7117e8da911 /checks/common.h
parent09d2b6df9a2a680476160a6a0a56c4b4f2fb91aa (diff)
Remove uses of global PRNG from self-test and benchmark code. Assumes
access to /dev/random (will be cleaned up shortly)
Diffstat (limited to 'checks/common.h')
-rw-r--r--checks/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/checks/common.h b/checks/common.h
index e42fa8e44..5a75c9059 100644
--- a/checks/common.h
+++ b/checks/common.h
@@ -55,6 +55,8 @@ Botan::Filter* lookup_s2k(const std::string&, const std::vector<std::string>&);
Botan::Filter* lookup_kdf(const std::string&, const std::string&,
const std::string&);
+Botan::RandomNumberGenerator& global_rng();
+
class Fixed_Output_RNG : public Botan::RandomNumberGenerator
{
public: