add missing error trace macro

pull/8833/head
Brett 2025-06-04 16:56:16 -06:00
parent bc8eeea703
commit 0e2a3fd0b6
1 changed files with 1 additions and 1 deletions

View File

@ -16809,7 +16809,7 @@ int ProcessPeerCerts(WOLFSSL* ssl, byte* input, word32* inOutIdx,
/* If we can't validate the peer cert chain against the CAs loaded
* into wolfSSL, try to validate against the system certificates
* using Apple's native trust APIs */
if ((ret == ASN_NO_SIGNER_E) &&
if ((ret == WC_NO_ERR_TRACE(ASN_NO_SIGNER_E)) &&
(ssl->ctx->doAppleNativeCertValidationFlag)) {
if (DoAppleNativeCertValidation(ssl, args->certs,
args->totalCerts)) {