aboutsummaryrefslogtreecommitdiffstats
path: root/src/init_def.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/init_def.cpp')
-rw-r--r--src/init_def.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/init_def.cpp b/src/init_def.cpp
index abfbe646e..f77b65453 100644
--- a/src/init_def.cpp
+++ b/src/init_def.cpp
@@ -6,7 +6,6 @@
#include <botan/init.h>
#include <botan/libstate.h>
#include <botan/modules.h>
-#include <botan/fips140.h>
namespace Botan {
@@ -21,12 +20,6 @@ void LibraryInitializer::initialize(const InitializerOptions& args,
set_global_state(new Library_State);
global_state().initialize(args, modules);
-
- if(args.fips_mode() || args.self_test())
- {
- if(!FIPS140::passes_self_tests())
- throw Self_Test_Failure("FIPS-140 startup tests");
- }
}
catch(...)
{