The unified diff between revisions [2fac918f..] and [4e40e885..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'checks/bench.cpp'
#
#
# patch "checks/bench.cpp"
# from [c6edf6ea5b86de31a9297b8c4a38e20b00b17569]
# to [194dc330534f8d0998eed9b5d92191844d30ea32]
#
============================================================
--- checks/bench.cpp c6edf6ea5b86de31a9297b8c4a38e20b00b17569
+++ checks/bench.cpp 194dc330534f8d0998eed9b5d92191844d30ea32
@@ -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, Bo
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;