mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-27 12:52:21 +01:00
fix for shadows global declaration warning
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user