提交 1d2c6b7d 编写于 作者: R Richard Levitte

Configure: avoid uninit data in configdata.pm

Fixes #5394
Reviewed-by: NTim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5399)
上级 856f231b
...@@ -2382,7 +2382,8 @@ _____ ...@@ -2382,7 +2382,8 @@ _____
my $longest2 = 0; my $longest2 = 0;
foreach my $what (@disablables) { foreach my $what (@disablables) {
$longest = length($what) if $longest < length($what); $longest = length($what) if $longest < length($what);
$longest2 = length($disabled{$what}) if $longest2 < length($disabled{$what}); $longest2 = length($disabled{$what})
if $disabled{$what} && $longest2 < length($disabled{$what});
} }
print "\nEnabled features:\n\n"; print "\nEnabled features:\n\n";
foreach my $what (@disablables) { foreach my $what (@disablables) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册