Merge pull request #3339 from ejohnstown/dtls-flag

DTLS Flag
This commit is contained in:
David Garske
2020-09-25 17:05:22 -07:00
committed by GitHub

View File

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