diff options
author | lloyd <[email protected]> | 2008-04-13 20:28:02 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-04-13 20:28:02 +0000 |
commit | 2ca8f36e3b41b751a9febcd0aa741ab532b7eb33 (patch) | |
tree | d301232342b2c88d7c2858ee8470f977fda07f4d /checks/bench.cpp | |
parent | 95185d453f774b8eb7344b2906d73f8eb1ed87d2 (diff) | |
parent | e9590a1054722891b7d99a42fe2c81a5911e6c75 (diff) |
propagate from branch 'net.randombit.botan' (head 4b88c5d653d997e87cc333064ca1624636fc2186)
to branch 'net.randombit.botan.remove-libstate' (head 58c8bf4a26a93475d86418d899d7f7202263d4ae)
Diffstat (limited to 'checks/bench.cpp')
-rw-r--r-- | checks/bench.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checks/bench.cpp b/checks/bench.cpp index 089b229f2..48db9d8cf 100644 --- a/checks/bench.cpp +++ b/checks/bench.cpp @@ -5,7 +5,7 @@ #include <string> #include <exception> -#include <botan/rng.h> +#include <botan/libstate.h> #include <botan/filters.h> using namespace Botan_types; using Botan::u64bit; @@ -31,7 +31,7 @@ double bench_filter(std::string name, Botan::Filter* filter, static const u32bit BUFFERSIZE = 32*1024; byte buf[BUFFERSIZE]; - Botan::Global_RNG::randomize(buf, BUFFERSIZE); + Botan::global_state().randomize(buf, BUFFERSIZE); u32bit iterations = 0; u64bit start = get_clock(), clocks_used = 0; |