Skip to content

Commit 5d3b12b

Browse files
authored
Merge pull request #325 from julek-wolfssl/dtls13-examples
wolfSSL_send_hrr_cookie is only available with WOLFSSL_SEND_HRR_COOKIE
2 parents ee05a30 + 2d5c409 commit 5d3b12b

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)