We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1855461 commit 1d0db38Copy full SHA for 1d0db38
t/proxy-ssl-cert.t
@@ -12,10 +12,10 @@ repeat_each(2);
12
my $NginxBinary = $ENV{'TEST_NGINX_BINARY'} || 'nginx';
13
my $openssl_version = eval { `$NginxBinary -V 2>&1` };
14
15
-if ($openssl_version =~ m/built with OpenSSL (0\S*|1\.0\S*|1\.1\.0\S*)/) {
16
- plan(skip_all => "too old OpenSSL, need 1.1.1, was $1");
+if ($openssl_version =~ m/built with OpenSSL (0|1\.0\.(?:0|1[^\d]|2[a-d]).*)/) {
+ plan(skip_all => "too old OpenSSL, need >= 1.0.2e, was $1");
17
} else {
18
- plan tests => repeat_each() * (blocks() * 6 - 2) - 4;
+ plan tests => repeat_each() * (blocks() * 3);
19
}
20
21
no_long_string();
0 commit comments