aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-07-27 13:35:56 +0000
committerlloyd <[email protected]>2010-07-27 13:35:56 +0000
commit38ece17f845c91579dc19e3bcc8a53edee4eb5ea (patch)
tree085c1652ab38cf009df843e15d7384b602300d7d /src/libstate
parent15e071575d90bdf21565192109491e05fefb594b (diff)
parentf197c68667c721605f5e3942a09e93bb140cac47 (diff)
merge of '17389a973545d2f8e25813894cdd2da1b01aa534'
and 'ada4c9893d70affd8934ab9664e390087feab3c9'
Diffstat (limited to 'src/libstate')
-rw-r--r--src/libstate/libstate.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstate/libstate.cpp b/src/libstate/libstate.cpp
index 83fb31406..1db9ca44c 100644
--- a/src/libstate/libstate.cpp
+++ b/src/libstate/libstate.cpp
@@ -8,6 +8,7 @@
#include <botan/libstate.h>
#include <botan/charset.h>
#include <botan/engine.h>
+#include <botan/cpuid.h>
#include <botan/internal/defalloc.h>
#include <botan/internal/default_engine.h>
#include <botan/internal/mutex.h>
@@ -241,6 +242,8 @@ RandomNumberGenerator& Library_State::global_rng()
*/
void Library_State::initialize(bool thread_safe)
{
+ CPUID::initialize();
+
if(mutex_factory)
throw Invalid_State("Library_State has already been initialized");