File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed
Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,12 @@ use Test::Nginx;
2222select STDERR ; $| = 1;
2323select STDOUT ; $| = 1;
2424
25- my $t = Test::Nginx-> new()-> has(qw/ http http_ssl openssl:1.1.1 socket_ssl_sni/ )
26- -> has_daemon(' openssl' )-> plan(4)
27- -> write_file_expand(' nginx.conf' , <<'EOF' );
25+ my $t = Test::Nginx-> new()-> has(qw/ http http_ssl openssl:1.1.1 socket_ssl_sni/ );
26+
27+ eval { defined &Net::SSLeay::CTX_set_ciphersuites or die ; };
28+ plan(skip_all => ' Net::SSLeay too old' ) if $@ ;
29+
30+ $t -> has_daemon(' openssl' )-> plan(4)-> write_file_expand(' nginx.conf' , <<'EOF' );
2831
2932%%TEST_GLOBALS%%
3033
Original file line number Diff line number Diff line change @@ -23,9 +23,12 @@ select STDERR; $| = 1;
2323select STDOUT ; $| = 1;
2424
2525my $t = Test::Nginx-> new()
26- -> has(qw/ stream stream_ssl stream_return openssl:1.1.1 socket_ssl_sni/ )
27- -> has_daemon(' openssl' )-> plan(4)
28- -> write_file_expand(' nginx.conf' , <<'EOF' );
26+ -> has(qw/ stream stream_ssl stream_return openssl:1.1.1 socket_ssl_sni/ );
27+
28+ eval { defined &Net::SSLeay::CTX_set_ciphersuites or die ; };
29+ plan(skip_all => ' Net::SSLeay too old' ) if $@ ;
30+
31+ $t -> has_daemon(' openssl' )-> plan(4)-> write_file_expand(' nginx.conf' , <<'EOF' );
2932
3033%%TEST_GLOBALS%%
3134
You can’t perform that action at this time.
0 commit comments