Skip to content

Commit

Permalink
Fix error in processing $target{enable}
Browse files Browse the repository at this point in the history
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from #7885)
  • Loading branch information
levitte committed Dec 12, 2018
1 parent 143b631 commit 7a8a35f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Configure
Original file line number Diff line number Diff line change
Expand Up @@ -1112,13 +1112,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};
}
}

Expand Down

0 comments on commit 7a8a35f

Please sign in to comment.