forked from wolfSSL/wolfssl
@@ -14755,7 +14755,8 @@ int ProcessReply(WOLFSSL* ssl)
|
|||||||
&ssl->curRL, &ssl->curSize);
|
&ssl->curRL, &ssl->curSize);
|
||||||
#ifdef WOLFSSL_DTLS
|
#ifdef WOLFSSL_DTLS
|
||||||
if (ssl->options.dtls && ret == SEQUENCE_ERROR) {
|
if (ssl->options.dtls && ret == SEQUENCE_ERROR) {
|
||||||
if (ssl->keys.curEpoch != 0) {
|
if (ssl->keys.curEpoch == ssl->keys.dtls_epoch + 1) {
|
||||||
|
/* Store if in the next epoch. Probably finished. */
|
||||||
word32 sz = ssl->buffers.inputBuffer.length -
|
word32 sz = ssl->buffers.inputBuffer.length -
|
||||||
ssl->buffers.inputBuffer.idx +
|
ssl->buffers.inputBuffer.idx +
|
||||||
DTLS_RECORD_HEADER_SZ;
|
DTLS_RECORD_HEADER_SZ;
|
||||||
|
Reference in New Issue
Block a user