util/perl/OpenSSL/Ordinals.pm: use OpenSSL::Util::cmp_versions
authorRichard Levitte <levitte@openssl.org>
Sun, 2 Dec 2018 12:50:56 +0000 (13:50 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 7 Dec 2018 15:02:17 +0000 (16:02 +0100)
commitad0b144b8a15c4d016bdef578c0ebfc72970da2c
treee60a5b1b32dffb96bcb2ec78b4480eb15547ff74
parent257ab867d0f290fcfe5e1abe005086b8bd94d047
util/perl/OpenSSL/Ordinals.pm: use OpenSSL::Util::cmp_versions

OpenSSL::Util::cmp_versions() is introduced to be used everywhere
where versions are compared.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7740)
util/perl/OpenSSL/Ordinals.pm
util/perl/OpenSSL/Util.pm [new file with mode: 0644]