提交 b2348488 编写于 作者: D Dr. Stephen Henson

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

a build. Use this for WIN32 builds.
上级 fdb65c83
...@@ -870,6 +870,16 @@ PROCESS_ARGS: ...@@ -870,6 +870,16 @@ PROCESS_ARGS:
$fips = 1; $fips = 1;
$nofipscanistercheck = 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$/) elsif (/^fipscanisteronly$/)
{ {
$fips = 1; $fips = 1;
......
...@@ -43,7 +43,7 @@ SET ASM=nasm ...@@ -43,7 +43,7 @@ SET ASM=nasm
:compile :compile
perl Configure %TARGET% fipscanisteronly perl Configure %TARGET% fipscheck
pause pause
echo on echo on
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册