diff --git a/src/tls13.c b/src/tls13.c index fb07314dad..7b892e15b0 100644 --- a/src/tls13.c +++ b/src/tls13.c @@ -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;