DTLS Flag

Fix an ifdef flag that should have been WOLFSSL_DTLS, not HAVE_DTLS.
This commit is contained in:
John Safranek
2020-09-25 10:49:34 -07:00
parent 8816577824
commit b36877c20b

View File

@ -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");