Skip to content

Commit 8e6c78f

Browse files
committed
Tests: preserving original SNI in a resumption handshake.
BoringSSL replaces a SNI value provided in the original handshake by the one from the resumption ClientHello, which breaks $ssl_server_name test assumptions.
1 parent fb3f4b5 commit 8e6c78f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stream_ssl_variables.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ local $TODO = 'not yet' if $t->has_module('OpenSSL (1.1.1|3)')
117117
&& !$t->has_version('1.15.10');
118118

119119
my $ses = Net::SSLeay::get_session($ssl);
120-
($s, $ssl) = get_ssl_socket(port(8082), $ses);
120+
($s, $ssl) = get_ssl_socket(port(8082), $ses, 'example.com');
121121
is(Net::SSLeay::ssl_read_all($ssl), 'example.com', 'ssl server name - reused');
122122

123123
}

0 commit comments

Comments
 (0)