Skip to content

Commit eef6747

Browse files
committed
tests/quic.c: gate QuicConversation_fail() definition to avoid -Wunused-function.
1 parent 3cafde2 commit eef6747

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/quic.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,8 @@ static void QuicConversation_do(QuicConversation *conv)
10291029
}
10301030
}
10311031

1032+
#ifdef HAVE_SESSION_TICKET
1033+
10321034
static void QuicConversation_fail(QuicConversation *conv)
10331035
{
10341036
if (!conv->started) {
@@ -1045,6 +1047,8 @@ static void QuicConversation_fail(QuicConversation *conv)
10451047
}
10461048
}
10471049

1050+
#endif /* HAVE_SESSION_TICKET */
1051+
10481052
static int test_quic_client_hello(int verbose) {
10491053
WOLFSSL_CTX *ctx;
10501054
int ret = 0;

0 commit comments

Comments
 (0)