Merge pull request #4464 from SparkiDev/tls_hs_state_fix

TLS: don't set the handshake state to the record type
This commit is contained in:
David Garske
2021-10-12 08:18:17 -07:00
committed by GitHub

View File

@ -14083,8 +14083,6 @@ static int DoHandShakeMsg(WOLFSSL* ssl, byte* input, word32* inOutIdx,
if (GetHandShakeHeader(ssl,input,inOutIdx,&type, &size, totalSz) != 0)
return PARSE_ERROR;
ssl->options.handShakeState = type;
return DoHandShakeMsgType(ssl, input, inOutIdx, type, size, totalSz);
}