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 11:59:00 +0000 (12:59 +0100)
commite63f5fdcb2658961f29fe7bed7968c0dcf7328a7
treed18706c83a143c3a69c7765609d794a46e48ebbb
parent0747f94b5f7b7f07f21384507ba1adaea6f99e88
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)
util/perl/OpenSSL/config.pm