DTLS update per RFC 6347 Section 4.2.3

This commit is contained in:
kaleb-himes
2017-04-07 14:26:33 -06:00
parent 4e703b6805
commit 8953ed9f30

View File

@@ -10074,13 +10074,7 @@ int ProcessReply(WOLFSSL* ssl)
/* more messages per record */
else if ((ssl->buffers.inputBuffer.idx - startIdx) < ssl->curSize) {
WOLFSSL_MSG("More messages in record");
#ifdef WOLFSSL_DTLS
/* read-ahead but dtls doesn't bundle messages per record */
if (ssl->options.dtls) {
ssl->options.processReply = doProcessInit;
continue;
}
#endif
ssl->options.processReply = runProcessingOneMessage;
if (IsEncryptionOn(ssl, 0)) {