Skip to content

Commit

Permalink
Merge pull request #7507 from rizlik/update_err_code_cert
Browse files Browse the repository at this point in the history
tls13: update error code to NO_CERT_ERROR when no cert is set
  • Loading branch information
douzzer authored May 9, 2024
2 parents af928fa + b0c991e commit 10b31cc
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 @@ -8504,7 +8504,7 @@ static int SendTls13Certificate(WOLFSSL* ssl)
else {
if (!ssl->buffers.certificate) {
WOLFSSL_MSG("Send Cert missing certificate buffer");
return BUFFER_ERROR;
return NO_CERT_ERROR;
}
/* Certificate Data */
certSz = ssl->buffers.certificate->length;
Expand Down

0 comments on commit 10b31cc

Please sign in to comment.