]> git.ipfire.org Git - thirdparty/openssl.git/commit
configdata.pm: Better display of enabled/disabled options
authorRichard Levitte <levitte@openssl.org>
Fri, 5 Feb 2021 14:00:17 +0000 (15:00 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 7 Feb 2021 06:20:39 +0000 (07:20 +0100)
commita2a76471ee2ef7ed434fbc51c8e115052dad39e6
treec2a945403f50dee1dfdc609bc2ab998e870a140a
parentfb97b8e8a52b853b2b2209d5aeee36eaa08bb9ad
configdata.pm: Better display of enabled/disabled options

The options listed in the array @disablables are regular expressions.
For most of them, it's not visible, but there are a few.

However, configdata.pm didn't quite treat them that way, which meant
that the few that are visibly regular expressions, there's a
difference between that and the corresponding the key in %disabled,
which is never a regular expression.

To correctly display the enabled and disabled options with --dump,
we must therefore go through a bit of Perl gymnastics to get the
output correct enough, primarly so that disabled features don't look
enabled.

Fixes #13790

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14081)
Configure