mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
TLS: don't set the handshake state to the record type
This commit is contained in:
@ -14083,8 +14083,6 @@ static int DoHandShakeMsg(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
|||||||
if (GetHandShakeHeader(ssl,input,inOutIdx,&type, &size, totalSz) != 0)
|
if (GetHandShakeHeader(ssl,input,inOutIdx,&type, &size, totalSz) != 0)
|
||||||
return PARSE_ERROR;
|
return PARSE_ERROR;
|
||||||
|
|
||||||
ssl->options.handShakeState = type;
|
|
||||||
|
|
||||||
return DoHandShakeMsgType(ssl, input, inOutIdx, type, size, totalSz);
|
return DoHandShakeMsgType(ssl, input, inOutIdx, type, size, totalSz);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user