Skip to content

Commit a5659ab

Browse files
committed
Tests: h3_ssl_reject_handshake.t LibreSSL TODO adjusted.
LibreSSL 4.0 has made fatal alerts fatal in QUIC.
1 parent 0d8180b commit a5659ab

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

h3_ssl_reject_handshake.t

+6-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ skip "OpenSSL too old", 3 if $got && $got == 0x100 + 70; # "protocol_version"
114114
# default virtual server rejected
115115

116116
TODO: {
117-
local $TODO = 'broken send_alert in LibreSSL' if $t->has_module('LibreSSL');
117+
local $TODO = 'broken send_alert in LibreSSL'
118+
if $t->has_module('LibreSSL')
119+
and not $t->has_feature('libressl:4.0.0');
118120

119121
is(bad('default', 8980), $alert, 'default rejected');
120122
is(bad(undef, 8980), $alert, 'absent sni rejected');
@@ -132,7 +134,9 @@ like(get(undef, 8982), qr/200/, 'absent sni accepted');
132134
like(get('virtual1', 8982), qr/virtual1/, 'virtual 1 accepted');
133135

134136
TODO: {
135-
local $TODO = 'broken send_alert in LibreSSL' if $t->has_module('LibreSSL');
137+
local $TODO = 'broken send_alert in LibreSSL'
138+
if $t->has_module('LibreSSL')
139+
and not $t->has_feature('libressl:4.0.0');
136140

137141
is(bad('virtual2', 8982), $alert, 'virtual 2 rejected');
138142

0 commit comments

Comments
 (0)