From 37773d4f6c2e29cee50526bc4124052bd58553b0 Mon Sep 17 00:00:00 2001 From: thooge Date: Sun, 8 Nov 2020 15:15:53 +0100 Subject: [PATCH] Fixed typo in OpenSSL version detection --- lib/OpenSSL.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenSSL.pm b/lib/OpenSSL.pm index 28cea43..2a1eabb 100644 --- a/lib/OpenSSL.pm +++ b/lib/OpenSSL.pm @@ -42,7 +42,7 @@ sub new { close(TEST); # set version (format: e.g. 0.9.7 or 0.9.7a) - if($v =~ /\b(0\.\d\.\d[a-z]?)\b/) { + if($v =~ /\b(\d\.\d\.\d[a-z]?)\b/) { $self->{'version'} = $1; } else { chomp $v;