summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2019-03-20 14:29:05 +0000
committerMatt Caswell <matt@openssl.org>2019-04-04 23:09:47 +0100
commite75455173bd0024ce11a83686bc9dad614068455 (patch)
treee9a47c582a31be5e1ad9ef63e17291c6b3079e47
parent9efa0ae0b602c1c0e356009a58410a2e8b80201a (diff)
Add a no-fips Configure option
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8537)
-rwxr-xr-xConfigure7
-rw-r--r--INSTALL3
2 files changed, 8 insertions, 2 deletions
diff --git a/Configure b/Configure
index 62f4af5fa7..6702bc6e6c 100755
--- a/Configure
+++ b/Configure
@@ -369,6 +369,7 @@ my @disablables = (
"err",
"external-tests",
"filenames",
+ "fips",
"fuzz-libfuzzer",
"fuzz-afl",
"gost",
@@ -512,6 +513,8 @@ my @disable_cascades = (
# or modules.
"pic" => [ "shared", "module" ],
+ "module" => [ "fips" ],
+
"engine" => [ grep /eng$/, @disablables ],
"hw" => [ "padlockeng" ],
@@ -1221,8 +1224,8 @@ foreach my $what (sort keys %disabled) {
$config{options} .= " no-$what";
- if (!grep { $what eq $_ } ( 'buildtest-c++', 'threads', 'shared', 'module',
- 'pic', 'dynamic-engine', 'makedepend',
+ if (!grep { $what eq $_ } ( 'buildtest-c++', 'fips', 'threads', 'shared',
+ 'module', 'pic', 'dynamic-engine', 'makedepend',
'zlib-dynamic', 'zlib', 'sse2' )) {
(my $WHAT = uc $what) =~ s|-|_|g;
my $skipdir = $what;
diff --git a/INSTALL b/INSTALL
index 5185033a79..c496e79e23 100644
--- a/INSTALL
+++ b/INSTALL
@@ -394,6 +394,9 @@
Don't compile in filename and line number information (e.g.
for errors and memory allocation).
+ no-fips
+ Don't compile the FIPS module
+
enable-fuzz-libfuzzer, enable-fuzz-afl
Build with support for fuzzing using either libfuzzer or AFL.
These are developer options only. They may not work on all