Fixes from code review
Include new private key files in release. Set messages field to NULL after free.
This commit is contained in:
parent
58f523beba
commit
9358edf5dd
@ -72,6 +72,8 @@ EXTRA_DIST += \
|
||||
certs/ed25519/client-ed25519-key.der \
|
||||
certs/ed25519/client-ed25519-key.pem \
|
||||
certs/ed25519/client-ed25519.pem \
|
||||
certs/ed25519/client-ed25519-priv.pem \
|
||||
certs/ed25519/client-ed25519-priv.pem \
|
||||
certs/ed25519/root-ed25519.der \
|
||||
certs/ed25519/root-ed25519-key.der \
|
||||
certs/ed25519/root-ed25519-key.pem \
|
||||
@ -79,7 +81,9 @@ EXTRA_DIST += \
|
||||
certs/ed25519/server-ed25519.der \
|
||||
certs/ed25519/server-ed25519-key.der \
|
||||
certs/ed25519/server-ed25519-key.pem \
|
||||
certs/ed25519/server-ed25519.pem
|
||||
certs/ed25519/server-ed25519.pem \
|
||||
certs/ed25519/server-ed25519-priv.der \
|
||||
certs/ed25519/server-ed25519-priv.pem
|
||||
|
||||
# ECC CA prime256v1
|
||||
EXTRA_DIST += \
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user