mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
remove NULL check on non-pointer array
This commit is contained in:
@ -15250,7 +15250,7 @@ static int DoCertificate(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
|||||||
/* Reset the session cert chain count in case the session resume failed,
|
/* Reset the session cert chain count in case the session resume failed,
|
||||||
do not reset if we are resuming after an async wait */
|
do not reset if we are resuming after an async wait */
|
||||||
#if defined(WOLFSSL_ASYNC_CRYPT) || defined(WOLFSSL_NONBLOCK_OCSP)
|
#if defined(WOLFSSL_ASYNC_CRYPT) || defined(WOLFSSL_NONBLOCK_OCSP)
|
||||||
if (ssl->async == NULL || ssl->async->args == NULL ||
|
if (ssl->async == NULL ||
|
||||||
(((ProcPeerCertArgs*)(ssl->async->args))->lastErr != OCSP_WANT_READ &&
|
(((ProcPeerCertArgs*)(ssl->async->args))->lastErr != OCSP_WANT_READ &&
|
||||||
((ProcPeerCertArgs*)(ssl->async->args))->lastErr != WC_PENDING_E))
|
((ProcPeerCertArgs*)(ssl->async->args))->lastErr != WC_PENDING_E))
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user