util/perl/OpenSSL/config.pm: Prefer POSIX::uname() over piping the command
authorRichard Levitte <levitte@openssl.org>
Mon, 2 Mar 2020 17:42:30 +0000 (18:42 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 28 Jun 2020 16:34:35 +0000 (18:34 +0200)
commit69aa579e6d349fa25de9b4959e578005b86def4c
tree6f3d2e9992c1edb7cbe6b5a636f83f7210cd6e0b
parent33d5b4a68ade2cb51513907ee0b57f146857ede5
util/perl/OpenSSL/config.pm: Prefer POSIX::uname() over piping the command

POSIX::uname() has the advantage to work on non-POSIX systems as well,
such as the Windows command prompt and VMS.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11230)
util/perl/OpenSSL/config.pm