Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit b3d416d

Browse files
tmshortwbl
authored andcommitted
QUIC: Fix extension test
1 parent 49da0f3 commit b3d416d

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

ssl/ssl_local.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,8 +773,8 @@ typedef enum tlsext_index_en {
773773
TLSEXT_IDX_cryptopro_bug,
774774
TLSEXT_IDX_early_data,
775775
TLSEXT_IDX_certificate_authorities,
776-
TLSEXT_IDX_quic_transport_params_draft,
777-
TLSEXT_IDX_quic_transport_params,
776+
TLSEXT_IDX_quic_transport_parameters_draft,
777+
TLSEXT_IDX_quic_transport_parameters,
778778
TLSEXT_IDX_padding,
779779
TLSEXT_IDX_psk,
780780
/* Dummy index - must always be the last entry */

test/ext_internal_test.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,13 @@ static EXT_LIST ext_list[] = {
6969
EXT_ENTRY(cryptopro_bug),
7070
EXT_ENTRY(early_data),
7171
EXT_ENTRY(certificate_authorities),
72+
#ifndef OPENSSL_NO_QUIC
73+
EXT_ENTRY(quic_transport_parameters_draft),
74+
EXT_ENTRY(quic_transport_parameters),
75+
#else
76+
EXT_EXCEPTION(quic_transport_parameters_draft),
77+
EXT_EXCEPTION(quic_transport_parameters),
78+
#endif
7279
EXT_ENTRY(padding),
7380
EXT_ENTRY(psk),
7481
EXT_END(num_builtins)

0 commit comments

Comments
 (0)