mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-15 12:50:06 +01:00
Add --enable-fips for linking with fipscheck library.
Initialize binary and library selfcheck if running in FIPS mode. (Actually available only on Fedora/Red Hat distros.)
This commit is contained in:
@@ -1317,6 +1317,8 @@ int main(int argc, const char **argv)
|
||||
bindtextdomain(PACKAGE, LOCALEDIR);
|
||||
textdomain(PACKAGE);
|
||||
|
||||
crypt_fips_self_check(NULL);
|
||||
|
||||
popt_context = poptGetContext(PACKAGE, argc, argv, popt_options, 0);
|
||||
poptSetOtherOptionHelp(popt_context,
|
||||
N_("[OPTION...] <action> <action-specific>]"));
|
||||
|
||||
Reference in New Issue
Block a user