tls13: update error code to NO_CERT_ERROR when no cert is set

pull/7507/head
Marco Oliverio 2024-05-07 10:55:48 +02:00
parent 4e6a34504d
commit b0c991eeb2
1 changed files with 1 additions and 1 deletions

View File

@ -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;