OpenSSL::config: Fix VMS guesses
authorRichard Levitte <levitte@openssl.org>
Tue, 27 Sep 2022 16:57:35 +0000 (18:57 +0200)
committerHugo Landau <hlandau@openssl.org>
Thu, 29 Sep 2022 12:00:17 +0000 (13:00 +0100)
commite9dd48486c2c796f3c9e315022c49d5c9edaf1b1
tree14bdb35c67f20823b4bffe80e682d5012cbc28a0
parent79eeaf97dd2ab5153875ea92699fe1b421869aa6
OpenSSL::config: Fix VMS guesses

The MACHINE value from POSIX::uname() isn't trustworthy at all.
MACHINE names like this has been seen:

    _HP__VMM___(1.67GHz/9.0MB)

Perl's `$Config{archname}` is much more trustworthy, especially since
VMS isn't a multiarch operating system, at least yet.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19285)

(cherry picked from commit e63f5fdcb2658961f29fe7bed7968c0dcf7328a7)
util/perl/OpenSSL/config.pm