diff --git a/test/sslapitest.c b/test/sslapitest.c index 1e76587a4c11b..5fb66976efb9a 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -10399,7 +10399,7 @@ static int quic_setupearly_data_test(SSL_CTX **cctx, SSL_CTX **sctx, return 0; if (idx == 2) { - clientpsk = create_a_psk(*clientssl); + clientpsk = create_a_psk(*clientssl, SHA384_DIGEST_LENGTH); if (!TEST_ptr(clientpsk) || !TEST_true(SSL_SESSION_set_max_early_data(clientpsk, 0xffffffffu))