aboutsummaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-07-22 10:56:25 +0200
committerRichard Levitte <levitte@openssl.org>2018-07-22 11:05:51 +0200
commitddbe700e93e34694519d303e1b4e4525184c9dad (patch)
tree285d17e18885440ab6c0c29c3b7913a5a816f570 /Configure
parentb709babbca0498cd2b05f543b09f57f4a670298e (diff)
downloadopenssl-ddbe700e93e34694519d303e1b4e4525184c9dad.zip
openssl-ddbe700e93e34694519d303e1b4e4525184c9dad.tar.gz
openssl-ddbe700e93e34694519d303e1b4e4525184c9dad.tar.bz2
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)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure26
1 files changed, 13 insertions, 13 deletions
diff --git a/Configure b/Configure
index 1b4e1d2..de226f1 100755
--- a/Configure
+++ b/Configure
@@ -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