fix for shadows global declaration warning

This commit is contained in:
JacobBarthelmeh
2025-12-18 17:18:39 -07:00
parent bbc3a72ea8
commit a3072c7a8d

View File

@@ -42234,11 +42234,11 @@ static int DisplaySecTrustError(CFErrorRef error, SecTrustRef trust)
/* Description */
desc = CFErrorCopyDescription(error);
if (desc) {
char buffer[256];
if (CFStringGetCString(desc, buffer, sizeof(buffer),
char buf[256];
if (CFStringGetCString(desc, buf, sizeof(buf),
kCFStringEncodingUTF8)) {
WOLFSSL_MSG_EX("SecTrustEvaluateWithError Error description: %s\n",
buffer);
buf);
}
CFRelease(desc);
}