forked from wolfSSL/wolfssl
Update NULL check to be consistent with other checks
This commit is contained in:
@ -8511,7 +8511,7 @@ static int SendTls13Certificate(WOLFSSL* ssl)
|
|||||||
listSz = 0;
|
listSz = 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!ssl->buffers.certificate || !ssl->buffers.certificate) {
|
if (!ssl->buffers.certificate || !ssl->buffers.certificate->buffer) {
|
||||||
WOLFSSL_MSG("Send Cert missing certificate buffer");
|
WOLFSSL_MSG("Send Cert missing certificate buffer");
|
||||||
return NO_CERT_ERROR;
|
return NO_CERT_ERROR;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user