diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-06-16 16:27:36 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-06-16 16:27:36 +0000 |
commit | b2348488797e4ac5ddd301db0f334e723069121a (patch) | |
tree | 8514b971b560621c62db31538b0e2e2d87161c67 | |
parent | fdb65c836cfc0c36f0a491a8fe4255cd18a7bc3f (diff) |
Option "fipscheck" which checks to see if FIPS is autodetected in
a build. Use this for WIN32 builds.
-rwxr-xr-x | Configure | 10 | ||||
-rw-r--r-- | ms/do_fips.bat | 2 |
2 files changed, 11 insertions, 1 deletions
@@ -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; diff --git a/ms/do_fips.bat b/ms/do_fips.bat index aac21ad327..a1e19aa114 100644 --- a/ms/do_fips.bat +++ b/ms/do_fips.bat @@ -43,7 +43,7 @@ SET ASM=nasm :compile -perl Configure %TARGET% fipscanisteronly +perl Configure %TARGET% fipscheck pause echo on |