TLS: don't set the handshake state to the record type

This commit is contained in:
Sean Parkinson
2021-10-12 08:45:27 +10:00
parent 69d5405e91
commit 544e64f9e4

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);
}