Skip to content

Commit

Permalink
Update NULL check to be consistent with other checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ColtonWilley committed Aug 16, 2024
1 parent a09e3bb commit d5268d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tls13.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d5268d8

Please sign in to comment.