[PATCH 07 of 20] Tests: BoringSSL does not provide session ids with TLSv1.3

Maxim Dounin mdounin at mdounin.ru
Sat Mar 18 14:15:02 UTC 2023


# HG changeset patch
# User Maxim Dounin <mdounin at mdounin.ru>
# Date 1679140613 -10800
#      Sat Mar 18 14:56:53 2023 +0300
# Node ID 36b78c9dc2db19bb92becb5cac0090c34538313e
# Parent  d90fe31a80d5e85b59e525e874d24f409716b64c
Tests: BoringSSL does not provide session ids with TLSv1.3.

diff --git a/stream_ssl_variables.t b/stream_ssl_variables.t
--- a/stream_ssl_variables.t
+++ b/stream_ssl_variables.t
@@ -103,7 +103,7 @@ like(Net::SSLeay::read($ssl), qr/^\.:(\w
 
 my $ses = Net::SSLeay::get_session($ssl);
 ($s, $ssl) = get_ssl_socket(port(8081), $ses);
-like(Net::SSLeay::read($ssl), qr/^r:\w{64}:[\w-]+:(TLS|SSL)v(\d|\.)+$/,
+like(Net::SSLeay::read($ssl), qr/^r:(\w{64})?:[\w-]+:(TLS|SSL)v(\d|\.)+$/,
 	'ssl variables - session reused');
 
 SKIP: {


More information about the nginx-devel mailing list