mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-16 13:20:11 +01:00
make FIPS checks compliant with new guidance
(gmazyland: Simplified this NIST nonsense, should be still exactly equivalent to former patch)
This commit is contained in:
committed by
Milan Broz
parent
e52d5f3d98
commit
a21c0503f8
@@ -1413,7 +1413,8 @@ int main(int argc, const char **argv)
|
||||
bindtextdomain(PACKAGE, LOCALEDIR);
|
||||
textdomain(PACKAGE);
|
||||
|
||||
crypt_fips_self_check(NULL);
|
||||
if (crypt_fips_mode())
|
||||
crypt_log(NULL, CRYPT_LOG_VERBOSE, _("Running in FIPS mode.\n"));
|
||||
|
||||
popt_context = poptGetContext(PACKAGE, argc, argv, popt_options, 0);
|
||||
poptSetOtherOptionHelp(popt_context,
|
||||
|
||||
Reference in New Issue
Block a user