Mercurial > hg > nginx-tests
diff stream_ssl_variables.t @ 1870:884e898b9fe7
Tests: unbreak stream_ssl_variables.t with old IO::Socket::SSL.
Do not clobber a stream object in test_tls13().
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 23 May 2023 16:30:01 +0400 |
parents | dbb7561a9441 |
children | c924ae8d7104 |
line wrap: on
line diff
--- a/stream_ssl_variables.t +++ b/stream_ssl_variables.t @@ -141,7 +141,7 @@ undef $s; ############################################################################### sub test_tls13 { - $s = stream(PeerAddr => '127.0.0.1:' . port(8443), SSL => 1); + my $s = stream(PeerAddr => '127.0.0.1:' . port(8443), SSL => 1); $s->read() =~ /TLSv1.3/; }