diff options
author | Richard Levitte <levitte@openssl.org> | 2018-02-17 07:33:17 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-02-17 07:33:17 +0100 |
commit | 1d2c6b7d4a5cb00d43a8b57e028923f8592f49c7 (patch) | |
tree | 98644b20ecf066ee41d59c235ec874ca03573cc6 /Configure | |
parent | 856f231bd230e7f8bd3a2183a32d39093ab4ddc3 (diff) |
Configure: avoid uninit data in configdata.pm
Fixes #5394
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5399)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2382,7 +2382,8 @@ _____ my $longest2 = 0; foreach my $what (@disablables) { $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"; foreach my $what (@disablables) { |