diff options
author | Richard Levitte <levitte@openssl.org> | 2018-07-22 10:56:25 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-07-22 11:05:51 +0200 |
commit | ddbe700e93e34694519d303e1b4e4525184c9dad (patch) | |
tree | 285d17e18885440ab6c0c29c3b7913a5a816f570 | |
parent | b709babbca0498cd2b05f543b09f57f4a670298e (diff) |
Configure: Display error/warning on deprecated/unsupported options after loop
Fixes #6755
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6759)
-rwxr-xr-x | Configure | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -888,21 +888,21 @@ while (@argvcopy) else { $config{options} .= " ".$_; } } + } - if (defined($config{api}) && !exists $apitable->{$config{api}}) { - die "***** Unsupported api compatibility level: $config{api}\n", - } +if (defined($config{api}) && !exists $apitable->{$config{api}}) { + die "***** Unsupported api compatibility level: $config{api}\n", +} - if (keys %deprecated_options) - { - warn "***** Deprecated options: ", - join(", ", keys %deprecated_options), "\n"; - } - if (keys %unsupported_options) - { - die "***** Unsupported options: ", - join(", ", keys %unsupported_options), "\n"; - } +if (keys %deprecated_options) + { + warn "***** Deprecated options: ", + join(", ", keys %deprecated_options), "\n"; + } +if (keys %unsupported_options) + { + die "***** Unsupported options: ", + join(", ", keys %unsupported_options), "\n"; } # If any %useradd entry has been set, we must check that the "make |