summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-06-01 07:45:54 +0200
committerRichard Levitte <levitte@openssl.org>2021-06-02 08:18:47 +0200
commit7058b4db821efa87e40dab584059b85ca676bc21 (patch)
tree33db9d8fd3eb474c898411ddde59b7435105764d /Configure
parent0608afe0963fc8188f0df1093e0eb42c32cd0a47 (diff)
downloadopenssl-new-7058b4db821efa87e40dab584059b85ca676bc21.tar.gz
Configure: variable expand GENERATE values too
Internal documentation doesn't allow for any exception... Therefore, even GENERATE values should be variable expanded. (there are historical reasons why GENERATE was excepted from variable expansion, that aren't applicable any more) Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15554)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configure b/Configure
index 3a9ef03a6e..f6951bbb18 100755
--- a/Configure
+++ b/Configure
@@ -2212,7 +2212,7 @@ if ($builder eq "unified") {
if !@skip || $skip[$#skip] > 0; },
qr/^\s* GENERATE ${index_re} = ${value_re} $/x
=> sub { $push_to->(\%generate, $expand_variables->($+{INDEX}),
- undef, undef, $+{VALUE})
+ undef, undef, $expand_variables->($+{VALUE}))
if !@skip || $skip[$#skip] > 0; },
qr/^\s* (?:\#.*)? $/x => sub { },
"OTHERWISE" => sub { die "Something wrong with this line:\n$_\nat $sourced/$f" },