diff options
author | lloyd <[email protected]> | 2006-07-28 14:13:44 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-07-28 14:13:44 +0000 |
commit | 0a9ee0e122aed780e6da5428fe0f0a007c84b87b (patch) | |
tree | 0f26da86ec14ec9d7a9f40fc8b18c586bd883f59 /include | |
parent | 2b4733d5893f0301b15f987c3309befc88eeb768 (diff) |
Change Builtin_Module constructor to take an InitializerOptions
instead of just a boolean, so it can (if desired) examine any arguments
it likes.
Only run the startup self tests if the selftest or fips140 option is
toggled on.
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index d2d83985c..f81fcb64a 100644 --- a/include/modules.h +++ b/include/modules.h @@ -6,6 +6,7 @@ #ifndef BOTAN_MODULE_FACTORIES_H__ #define BOTAN_MODULE_FACTORIES_H__ +#include <botan/init.h> #include <string> #include <vector> @@ -46,7 +47,7 @@ class Builtin_Modules : public Modules std::vector<class EntropySource*> entropy_sources() const; std::vector<class Engine*> engines() const; - Builtin_Modules(bool sl) : should_lock(sl) {} + Builtin_Modules(const InitializerOptions&); private: const bool should_lock; }; |