diff options
author | Richard Levitte <levitte@openssl.org> | 2018-12-12 09:27:48 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-12-12 11:11:33 +0100 |
commit | 729033c64147312dc1977796808982597a597458 (patch) | |
tree | c24a7d5814a64195dcffdf88bac2e497d372dcc1 | |
parent | 03c8a0987a55a8a92d0046ef4e4a56b4c041aa51 (diff) |
Fix error in processing $target{enable}
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7885)
(cherry picked from commit 7a8a35ff0ce0c25a36b494a4c7e3f5f390679e6e)
-rwxr-xr-x | Configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1110,13 +1110,13 @@ foreach my $feature (@{$target{disable}}) { $disabled{$feature} = 'config'; } foreach my $feature (@{$target{enable}}) { - if ("default" eq ($disabled{$_} // "")) { + if ("default" eq ($disabled{$feature} // "")) { if (exists $deprecated_disablables{$feature}) { warn "***** config $target enables deprecated feature $feature\n"; } elsif (!grep { $feature eq $_ } @disablables) { die "***** config $target enables unknown feature $feature\n"; } - delete $disabled{$_}; + delete $disabled{$feature}; } } |