fix unitialized variable

This commit is contained in:
John Bland
2023-09-25 11:53:13 -04:00
parent 037c44609d
commit dfb45bc40e

View File

@ -4946,8 +4946,10 @@ static int EchWriteAcceptance(WOLFSSL* ssl, byte* label, word16 labelSz,
PRIVATE_KEY_LOCK();
}
/* free acceptHashes */
FreeHandshakeHashes(ssl);
ssl->hsHashes = tmpHashes;
if (ret == 0) {
FreeHandshakeHashes(ssl);
ssl->hsHashes = tmpHashes;
}
return ret;
}
#endif