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(); PRIVATE_KEY_LOCK();
} }
/* free acceptHashes */ /* free acceptHashes */
if (ret == 0) {
FreeHandshakeHashes(ssl); FreeHandshakeHashes(ssl);
ssl->hsHashes = tmpHashes; ssl->hsHashes = tmpHashes;
}
return ret; return ret;
} }
#endif #endif