mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
Correct slight logic error in processing IF in build.info
This corrects a fault where the inner IF in this example was still being acted upon: IF[0] ...whatever... IF[1] ...whatever more... ENDIF ENDIF With this change, the inner IF is skipped over. Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
parent
64b9d84bfd
commit
c5798e0eb5
@ -1334,7 +1334,7 @@ if ($builder eq "unified") {
|
|||||||
# Info we're looking for
|
# Info we're looking for
|
||||||
qr/^\s*IF\[((?:\\.|[^\\\]])*)\]\s*$/
|
qr/^\s*IF\[((?:\\.|[^\\\]])*)\]\s*$/
|
||||||
=> sub {
|
=> sub {
|
||||||
if (! @skip || $skip[$#skip] >= 0) {
|
if (! @skip || $skip[$#skip] > 0) {
|
||||||
push @skip, !! $1;
|
push @skip, !! $1;
|
||||||
} else {
|
} else {
|
||||||
push @skip, -1;
|
push @skip, -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user