summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-06-16 16:27:36 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-06-16 16:27:36 +0000
commitb2348488797e4ac5ddd301db0f334e723069121a (patch)
tree8514b971b560621c62db31538b0e2e2d87161c67 /Configure
parentfdb65c836cfc0c36f0a491a8fe4255cd18a7bc3f (diff)
downloadopenssl-new-b2348488797e4ac5ddd301db0f334e723069121a.tar.gz
Option "fipscheck" which checks to see if FIPS is autodetected in
a build. Use this for WIN32 builds.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/Configure b/Configure
index 4705a54063..fb8cceb430 100755
--- a/Configure
+++ b/Configure
@@ -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;