If a system understands `uname -X` then the Configure script will attempt
to use uninitialized values.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13327)
}
close UNAME;
return "" if $line eq '';
- my @fields = split($line);
- return $fields[2];
+ my @fields = split(/\s+/, $line);
+ return $fields[2] // '';
}
sub get_sco_type {