Skip to content

Commit 2d5c409

Browse files
committed
wolfSSL_send_hrr_cookie is only available with WOLFSSL_SEND_HRR_COOKIE
1 parent 2b52c38 commit 2d5c409

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dtls/server-dtls13-event.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ static int newPendingSSL(void)
241241
return 0;
242242
}
243243

244-
#ifndef USE_DTLS12
244+
#if !defined(USE_DTLS12) && defined(WOLFSSL_SEND_HRR_COOKIE)
245245
{
246246
/* Applications should update this secret periodically */
247247
char *secret = "My secret";

0 commit comments

Comments
 (0)