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
commit f20f883e94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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