mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
tls13: update error code to NO_CERT_ERROR when no cert is set
This commit is contained in:
@@ -8504,7 +8504,7 @@ static int SendTls13Certificate(WOLFSSL* ssl)
|
|||||||
else {
|
else {
|
||||||
if (!ssl->buffers.certificate) {
|
if (!ssl->buffers.certificate) {
|
||||||
WOLFSSL_MSG("Send Cert missing certificate buffer");
|
WOLFSSL_MSG("Send Cert missing certificate buffer");
|
||||||
return BUFFER_ERROR;
|
return NO_CERT_ERROR;
|
||||||
}
|
}
|
||||||
/* Certificate Data */
|
/* Certificate Data */
|
||||||
certSz = ssl->buffers.certificate->length;
|
certSz = ssl->buffers.certificate->length;
|
||||||
|
Reference in New Issue
Block a user