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:
Milan Broz
2012-05-21 01:26:08 +02:00
parent 0f4431d0bb
commit 45e0942755
11 changed files with 120 additions and 2 deletions

View File

@@ -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>]"));