Skip to content

Commit b0c991e

Browse files
committed
tls13: update error code to NO_CERT_ERROR when no cert is set
1 parent 4e6a345 commit b0c991e

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)