aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/libstate.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-10 22:33:35 +0000
committerlloyd <[email protected]>2008-11-10 22:33:35 +0000
commita4804e1e606424b8b9421eadb86ffde0a995382c (patch)
tree9d2e007e818b3a796f288ab6158a4bc762d0ad52 /src/libstate/libstate.h
parent675aa7bcc476d8445b6eb2bc3c6b0a2f3ce12958 (diff)
Drop all options except thread safety. Also remove InitializerOptions, etc
and reduce all the arguments to just a bool specifying threads. selftests: off (if desired, run passes_self_test in selftest.h) fips140: Just ran the self tests, totally bogus option. use_engine: On by default (that is, if OpenSSL or asm code is compiled in, it's used by default). One can get better control over this using the provider feature of SCAN_Name (though this doesn't handle cases like nested algorithms yet). secure_memory: On by default.
Diffstat (limited to 'src/libstate/libstate.h')
-rw-r--r--src/libstate/libstate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstate/libstate.h b/src/libstate/libstate.h
index f6ad70564..b5881dc62 100644
--- a/src/libstate/libstate.h
+++ b/src/libstate/libstate.h
@@ -7,7 +7,6 @@
#define BOTAN_LIB_STATE_H__
#include <botan/types.h>
-#include <botan/init.h>
#include <botan/allocate.h>
#include <botan/algo_factory.h>
@@ -26,7 +25,7 @@ class BOTAN_DLL Library_State
Library_State();
~Library_State();
- void initialize(const InitializerOptions&);
+ void initialize(bool thread_safe);
Algorithm_Factory& algo_factory();