# see INSTALL.md for instructions.
-# Set this variable to 1 if you want to skip all the Engine related tests
-# Re-enable with 0. (and you also should add back 'afalgeng' in
-# Configurations/10-main.conf to the enable array at (possible) line 697
-# (targets/linux_generic32)
-# This is needed for engine removal process, because we can't do it in one big
-# bulk and otherwise there will be failing tests and we want the CI to be happy.
-my $disable_engine_removal = 1;
-
my $orig_death_handler = $SIG{__DIE__};
$SIG{__DIE__} = \&death_handler;
my @disablables = (
"acvp-tests",
- "afalgeng",
"apps",
"argon2",
"aria",
"bulk",
"cached-fetch",
"camellia",
- "capieng",
"winstore",
"cast",
"chacha",
"hqinterop",
"deprecated",
"des",
- "devcryptoeng",
"dgram",
"dh",
"docs",
"ktls",
"legacy",
"lms",
- "loadereng",
"makedepend",
"md2",
"md4",
"nextprotoneg",
"ocb",
"ocsp",
- "padlockeng",
"pic",
"pie",
"pinshared",
"ssl2" => undef,
"buf-freelists" => undef,
"crypto-mdebug-backtrace" => undef,
- "hw" => "hw", # causes cascade, but no macro
- "hw-padlock" => "padlockeng",
+ "hw" => undef,
+ "hw-padlock" => undef,
"ripemd" => "rmd160",
"ui" => "ui-console",
"heartbeats" => undef,
"pic" => [ "shared", "module" ],
"engine" => [ grep(/eng$/, @disablables) ],
- "hw" => [ "padlockeng" ],
# no-autoalginit is only useful when building non-shared
"autoalginit" => [ "shared", "apps", "fips" ],
- "stdio" => [ "apps", "capieng", "egd" ],
+ "stdio" => [ "apps", "egd" ],
"apps" => [ "tests" ],
"tests" => [ "external-tests" ],
"comp" => [ "zlib", "brotli", "zstd" ],
: ( $_ ) }
@{$config{CFLAGS}} ];
-if ($disable_engine_removal == 1) {
- disable("engine-removal", "engine");
- disable("engine-removal", "afalgeng");
- disable("engine-removal", "capieng");
- disable("engine-removal", "loadereng");
- disable("engine-removal", "padlockeng");
-}
-
-unless ($disabled{afalgeng}) {
- $config{afalgeng}="";
- if (grep { $_ eq 'afalgeng' } @{$target{enable}}) {
- push @{$config{engdirs}}, "afalg";
- } else {
- disable('not-linux', 'afalgeng');
- }
-}
-
-unless ($disabled{devcryptoeng}) {
- if ($target =~ m/^BSD/) {
- my $maxver = 5*100 + 7;
- my $sysstr = `uname -s`;
- my $verstr = `uname -r`;
- $sysstr =~ s|\R$||;
- $verstr =~ s|\R$||;
- my ($ma, $mi, @rest) = split m|\.|, $verstr;
- my $ver = $ma*100 + $mi;
- if ($sysstr eq 'OpenBSD' && $ver >= $maxver) {
- disable('too-new-kernel', 'devcryptoeng');
- }
- }
-}
-
unless ($disabled{ktls}) {
$config{ktls}="";
my $cc = $config{CROSS_COMPILE}.$config{CC};
feature `xxxx` is disabled by default then `enable-xxxx` is documented and
if feature `xxxx` is enabled by default then `no-xxxx` is documented.
-### no-afalgeng
-
-Don't build the AFALG engine.
-
-This option will be forced on a platform that does not support AFALG.
-
### enable-ktls
Build with Kernel TLS support.
significant performance penalty. This option is primarily designed to help
with detecting incorrect reference counting.
-### no-capieng
-
-Don't build the CAPI engine.
-
-This option will be forced if on a platform that does not support CAPI.
-
### no-cmp
Don't build support for Certificate Management Protocol (CMP)
Don't build support for loading Dynamic Shared Objects (DSO)
-### enable-devcryptoeng
-
-Build the `/dev/crypto` engine.
-
-This option is automatically selected on the BSD platform, in which case it can
-be disabled with `no-devcryptoeng`.
-
### no-dynamic-engine
Don't build the dynamically loaded engines.
Don't build support for Online Certificate Status Protocol (OCSP).
-### no-padlockeng
-
-Don't build the padlock engine.
-
-### no-hw-padlock
-
-As synonym for `no-padlockeng`. Deprecated and should not be used.
-
### no-pic
Don't build with support for Position Independent Code.