diff options
author | Richard Levitte <levitte@openssl.org> | 2018-08-07 12:38:16 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-08-07 17:19:38 +0200 |
commit | 4e360445473c3da938703a8142a36cf6ee86a191 (patch) | |
tree | f7f249998e7926f138df046e61c88e6da3d5b6d9 /Configure | |
parent | 2b988423252232b2202f32a4d702f1cc24de5369 (diff) | |
download | openssl-4e360445473c3da938703a8142a36cf6ee86a191.tar.gz |
Check early that the config target exists and isn't a template
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6885)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1034,11 +1034,12 @@ if ($d) { $target = $t; } } + +&usage if !$table{$target} || $table{$target}->{template}; + $config{target} = $target; my %target = resolve_config($target); -&usage if (!%target || $target{template}); - foreach (keys %target_attr_translate) { $target{$target_attr_translate{$_}} = $target{$_} if $target{$_}; |