util/perl/OpenSSL/config.pm: remove expand() and use eval
authorRichard Levitte <levitte@openssl.org>
Tue, 3 Mar 2020 13:31:35 +0000 (14:31 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 28 Jun 2020 16:34:36 +0000 (18:34 +0200)
commit019e3a0b6b34ee0fdd8796a65ec99f5d11a2b7eb
treef39765c2e9c0d69cf421b4857efd32a9a726d8d5
parent2f44c8151e4214174c6aa23731df643c40db38cd
util/perl/OpenSSL/config.pm: remove expand() and use eval

The strings we expand contain other variable references than just
${MACHINE}.  Instead of having to remember what to expand, we simply
evaluate the string as a, well, string.

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