forked from wolfSSL/wolfssl
Fix to ensure args->dCert is set for ProcessPeerCertParse
.
This commit is contained in:
@ -11696,7 +11696,7 @@ static int ProcessPeerCertParse(WOLFSSL* ssl, ProcPeerCertArgs* args,
|
|||||||
int sigRet = 0;
|
int sigRet = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (ssl == NULL || args == NULL)
|
if (ssl == NULL || args == NULL || args->dCert == NULL)
|
||||||
return BAD_FUNC_ARG;
|
return BAD_FUNC_ARG;
|
||||||
|
|
||||||
/* check to make sure certificate index is valid */
|
/* check to make sure certificate index is valid */
|
||||||
|
Reference in New Issue
Block a user