Option "fipscheck" which checks to see if FIPS is autodetected in

a build. Use this for WIN32 builds.
This commit is contained in:
Dr. Stephen Henson 2011-06-16 16:27:36 +00:00
parent fdb65c836c
commit b234848879
2 changed files with 11 additions and 1 deletions

View file

@ -870,6 +870,16 @@ PROCESS_ARGS:
$fips = 1;
$nofipscanistercheck = 1;
}
elsif (/^fipscheck$/)
{
if ($fipscanisteronly != 2)
{
print STDERR <<"EOF";
ERROR: FIPS not autodetected. Not running from restricted tarball??
EOF
exit(1);
}
}
elsif (/^fipscanisteronly$/)
{
$fips = 1;

View file

@ -43,7 +43,7 @@ SET ASM=nasm
:compile
perl Configure %TARGET% fipscanisteronly
perl Configure %TARGET% fipscheck
pause
echo on