Merge pull request #7507 from rizlik/update_err_code_cert

tls13: update error code to NO_CERT_ERROR when no cert is set
This commit is contained in:
Daniel Pouzzner
2024-05-09 01:38:26 -04:00
committed by GitHub
+1 -1
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;