Skip to content

Commit

Permalink
tls13: update error code to NO_CERT_ERROR when no cert is set
Browse files Browse the repository at this point in the history
  • Loading branch information
rizlik committed May 7, 2024
1 parent 4e6a345 commit b0c991e
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 b0c991e

Please sign in to comment.