mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
@ -7768,9 +7768,7 @@ static int GetRecordHeader(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WOLFSSL_DTLS
|
#ifdef WOLFSSL_DTLS
|
||||||
if (IsDtlsNotSctpMode(ssl) &&
|
if (IsDtlsNotSctpMode(ssl) && !DtlsCheckWindow(ssl)) {
|
||||||
(!DtlsCheckWindow(ssl) ||
|
|
||||||
(ssl->options.handShakeDone && ssl->keys.curEpoch == 0))) {
|
|
||||||
WOLFSSL_LEAVE("GetRecordHeader()", SEQUENCE_ERROR);
|
WOLFSSL_LEAVE("GetRecordHeader()", SEQUENCE_ERROR);
|
||||||
return SEQUENCE_ERROR;
|
return SEQUENCE_ERROR;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user