summaryrefslogtreecommitdiffstats
path: root/util/perl/OpenSSL/Test.pm
diff options
context:
space:
mode:
Diffstat (limited to 'util/perl/OpenSSL/Test.pm')
-rw-r--r--util/perl/OpenSSL/Test.pm11
1 files changed, 5 insertions, 6 deletions
diff --git a/util/perl/OpenSSL/Test.pm b/util/perl/OpenSSL/Test.pm
index 9564b26046..a9436e6da4 100644
--- a/util/perl/OpenSSL/Test.pm
+++ b/util/perl/OpenSSL/Test.pm
@@ -810,9 +810,9 @@ sub quotify {
=item B<openssl_versions>
-Returns a list of two numbers, the first representing the build version,
-the second representing the library version. See opensslv.h for more
-information on those numbers.
+Returns a list of two version numbers, the first representing the build
+version, the second representing the library version. See opensslv.h for
+more information on those numbers.
=back
@@ -823,9 +823,8 @@ sub openssl_versions {
unless (@versions) {
my %lines =
map { s/\R$//;
- /^(.*): (0x[[:xdigit:]]{8})$/;
- die "Weird line: $_" unless defined $1;
- $1 => hex($2) }
+ /^(.*): (.*)$/;
+ $1 => $2 }
run(test(['versions']), capture => 1);
@versions = ( $lines{'Build version'}, $lines{'Library version'} );
}