mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-29 12:22:11 +01:00
Fixes from code review
Include new private key files in release. Set messages field to NULL after free.
This commit is contained in:
@@ -4328,8 +4328,10 @@ void FreeHandshakeHashes(WOLFSSL* ssl)
|
||||
wc_Sha512Free(&ssl->hsHashes->hashSha512);
|
||||
#endif
|
||||
#if defined(HAVE_ED25519) && !defined(WOLFSSL_NO_CLIENT_AUTH)
|
||||
if (ssl->hsHashes->messages != NULL)
|
||||
if (ssl->hsHashes->messages != NULL) {
|
||||
XFREE(ssl->hsHashes->messages, ssl->heap, DYNAMIC_TYPE_HASHES);
|
||||
ssl->hsHashes->messages = NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
XFREE(ssl->hsHashes, ssl->heap, DYNAMIC_TYPE_HASHES);
|
||||
|
||||
Reference in New Issue
Block a user