File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -24,19 +24,11 @@ use Test::Nginx::HTTP3;
24
24
select STDERR ; $| = 1;
25
25
select STDOUT ; $| = 1;
26
26
27
- eval { require IO::Socket::SSL; die if $IO::Socket::SSL::VERSION < 1.56; };
28
- plan(skip_all => ' IO::Socket::SSL version >= 1.56 required' ) if $@ ;
29
-
30
- eval { IO::Socket::SSL-> can_client_sni() or die ; };
31
- plan(skip_all => ' IO::Socket::SSL with OpenSSL SNI support required' ) if $@ ;
32
-
33
- eval { IO::Socket::SSL-> can_alpn() or die ; };
34
- plan(skip_all => ' IO::Socket::SSL with OpenSSL ALPN support required' ) if $@ ;
35
-
36
27
eval { require Crypt::Misc; die if $Crypt::Misc::VERSION < 0.067; };
37
28
plan(skip_all => ' CryptX version >= 0.067 required' ) if $@ ;
38
29
39
- my $t = Test::Nginx-> new()-> has(qw/ http http_ssl http_v2 http_v3 rewrite/ )
30
+ my $t = Test::Nginx-> new()
31
+ -> has(qw/ http http_ssl http_v2 http_v3 rewrite socket_ssl_alpn/ )
40
32
-> has_daemon(' openssl' )-> plan(6);
41
33
42
34
$t -> write_file_expand(' nginx.conf' , <<'EOF' );
You can’t perform that action at this time.
0 commit comments