mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
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;
|
||||
}
|
||||
else {
|
||||
if (!ssl->buffers.certificate || !ssl->buffers.certificate) {
|
||||
if (!ssl->buffers.certificate || !ssl->buffers.certificate->buffer) {
|
||||
WOLFSSL_MSG("Send Cert missing certificate buffer");
|
||||
return NO_CERT_ERROR;
|
||||
}
|
||||
|
Reference in New Issue
Block a user