Skip to content

Commit a1f83c3

Browse files
committed
Tests: unbreak stream_ssl_variables.t with old IO::Socket::SSL.
Do not clobber a stream object in test_tls13().
1 parent 18a4f5c commit a1f83c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stream_ssl_variables.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ undef $s;
141141
###############################################################################
142142

143143
sub test_tls13 {
144-
$s = stream(PeerAddr => '127.0.0.1:' . port(8443), SSL => 1);
144+
my $s = stream(PeerAddr => '127.0.0.1:' . port(8443), SSL => 1);
145145
$s->read() =~ /TLSv1.3/;
146146
}
147147

0 commit comments

Comments
 (0)