mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 04:34:41 +02:00
Fix typos with goto exit labels and heap.
This commit is contained in:
@@ -7142,7 +7142,7 @@ int ProcessPeerCerts(WOLFSSL* ssl, byte* input, word32* inOutIdx, word32 totalSz
|
||||
ret = wolfSSL_AsyncPush(ssl,
|
||||
args->dCert->sigCtx.asyncDev,
|
||||
WC_ASYNC_FLAG_CALL_AGAIN);
|
||||
goto exit_dc;
|
||||
goto exit_ppc;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -7306,7 +7306,7 @@ int ProcessPeerCerts(WOLFSSL* ssl, byte* input, word32* inOutIdx, word32 totalSz
|
||||
ret = wolfSSL_AsyncPush(ssl,
|
||||
args->dCert->sigCtx.asyncDev,
|
||||
WC_ASYNC_FLAG_CALL_AGAIN);
|
||||
goto exit_dc;
|
||||
goto exit_ppc;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@@ -5422,7 +5422,7 @@ int TLSX_KeyShare_Establish(WOLFSSL *ssl)
|
||||
|
||||
/* Move private key to client entry. */
|
||||
if (clientKSE->key != NULL)
|
||||
XFREE(clientKSE->key, heap, DYNAMIC_TYPE_TLSX);
|
||||
XFREE(clientKSE->key, ssl->heap, DYNAMIC_TYPE_TLSX);
|
||||
clientKSE->key = serverKSE->key;
|
||||
serverKSE->key = NULL;
|
||||
clientKSE->keyLen = serverKSE->keyLen;
|
||||
|
Reference in New Issue
Block a user