From b36877c20b2b72fba4a8006dcd1925ea352ae1e7 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Fri, 25 Sep 2020 10:49:34 -0700 Subject: [PATCH] DTLS Flag Fix an ifdef flag that should have been WOLFSSL_DTLS, not HAVE_DTLS. --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index 58c4800fc..972eb0e08 100644 --- a/src/internal.c +++ b/src/internal.c @@ -12282,7 +12282,7 @@ static int SanityCheckMsgReceived(WOLFSSL* ssl, byte type) WOLFSSL_MSG("Duplicate Finished received"); return DUPLICATE_MSG_E; } -#ifdef HAVE_DTLS +#ifdef WOLFSSL_DTLS if (ssl->options.dtls) { if (ssl->keys.curEpoch == 0) { WOLFSSL_MSG("Finished received with epoch 0");