Skip to content

Commit

Permalink
Add a no-fips Configure option
Browse files Browse the repository at this point in the history
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from #8537)
  • Loading branch information
mattcaswell committed Apr 4, 2019
1 parent 9efa0ae commit e754551
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Configure
Expand Up @@ -369,6 +369,7 @@ my @disablables = (
"err",
"external-tests",
"filenames",
"fips",
"fuzz-libfuzzer",
"fuzz-afl",
"gost",
Expand Down Expand Up @@ -512,6 +513,8 @@ my @disable_cascades = (
# or modules.
"pic" => [ "shared", "module" ],

"module" => [ "fips" ],

"engine" => [ grep /eng$/, @disablables ],
"hw" => [ "padlockeng" ],

Expand Down Expand Up @@ -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;
Expand Down
3 changes: 3 additions & 0 deletions INSTALL
Expand Up @@ -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
Expand Down

0 comments on commit e754551

Please sign in to comment.