Skip to content

Commit 10b31cc

Browse files
authored
Merge pull request #7507 from rizlik/update_err_code_cert
tls13: update error code to NO_CERT_ERROR when no cert is set
2 parents af928fa + b0c991e commit 10b31cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tls13.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8504,7 +8504,7 @@ static int SendTls13Certificate(WOLFSSL* ssl)
85048504
else {
85058505
if (!ssl->buffers.certificate) {
85068506
WOLFSSL_MSG("Send Cert missing certificate buffer");
8507-
return BUFFER_ERROR;
8507+
return NO_CERT_ERROR;
85088508
}
85098509
/* Certificate Data */
85108510
certSz = ssl->buffers.certificate->length;

0 commit comments

Comments
 (0)