diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/init_opt.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/init_opt.cpp b/src/init_opt.cpp index 0494976d6..5ba05187d 100644 --- a/src/init_opt.cpp +++ b/src/init_opt.cpp @@ -78,6 +78,14 @@ bool InitializerOptions::fips_mode() const } /************************************************* +* Check if startup self tests were requested * +*************************************************/ +bool InitializerOptions::self_test() const + { + return boolean_arg(args, "selftest", true); + } + +/************************************************* * Return the config file to load, if any * *************************************************/ std::string InitializerOptions::config_file() const |