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) {
|
if (ret != 0) {
|
||||||
#ifdef WOLFSSL_SMALL_STACK
|
#ifdef WOLFSSL_SMALL_STACK
|
||||||
#ifdef WOLFSSL_SHA384
|
#ifdef WOLFSSL_SHA384
|
||||||
XFREE(sha384, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
|
||||||
/* restore */
|
/* restore */
|
||||||
ssl->hsHashes->hashSha384 = sha384[0];
|
ssl->hsHashes->hashSha384 = sha384[0];
|
||||||
|
XFREE(sha384, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user