Commit 79fff39d authored by Richard Levitte's avatar Richard Levitte
Browse files

Don't check the conditions to build e_afalg if configured "no-engine"

parent 63ee7129
Loading
Loading
Loading
Loading
+16 −14
Original line number Diff line number Diff line
@@ -1193,6 +1193,7 @@ else { $no_user_defines=1; }

# ALL MODIFICATIONS TO %config and %target MUST BE DONE FROM HERE ON

unless ($disabled{engine}) {
    $config{afalg}="";
    if ($target =~ m/^linux/) {
        my $minver = 4*10000 + 1*100 + 0;
@@ -1210,6 +1211,7 @@ if ($target =~ m/^linux/) {
    } else {
        $disabled{afalg}  = "not-linux";
    }
}

push @{$config{openssl_other_defines}}, "OPENSSL_NO_AFALGENG" if ($disabled{afalg});