mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
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;
|
||||
#endif
|
||||
|
||||
if (ssl == NULL || args == NULL)
|
||||
if (ssl == NULL || args == NULL || args->dCert == NULL)
|
||||
return BAD_FUNC_ARG;
|
||||
|
||||
/* check to make sure certificate index is valid */
|
||||
|
Reference in New Issue
Block a user