forked from wolfSSL/wolfssl
Reorder restore statement.
This commit is contained in:
@ -5660,9 +5660,9 @@ static int BuildFinished(WOLFSSL* ssl, Hashes* hashes, const byte* sender)
|
||||
if (ret != 0) {
|
||||
#ifdef WOLFSSL_SMALL_STACK
|
||||
#ifdef WOLFSSL_SHA384
|
||||
XFREE(sha384, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
/* restore */
|
||||
ssl->hsHashes->hashSha384 = sha384[0];
|
||||
XFREE(sha384, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
#endif
|
||||
#endif
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user