Skip to content

Commit a3072c7

Browse files
fix for shadows global declaration warning
1 parent bbc3a72 commit a3072c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/internal.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42234,11 +42234,11 @@ static int DisplaySecTrustError(CFErrorRef error, SecTrustRef trust)
4223442234
/* Description */
4223542235
desc = CFErrorCopyDescription(error);
4223642236
if (desc) {
42237-
char buffer[256];
42238-
if (CFStringGetCString(desc, buffer, sizeof(buffer),
42237+
char buf[256];
42238+
if (CFStringGetCString(desc, buf, sizeof(buf),
4223942239
kCFStringEncodingUTF8)) {
4224042240
WOLFSSL_MSG_EX("SecTrustEvaluateWithError Error description: %s\n",
42241-
buffer);
42241+
buf);
4224242242
}
4224342243
CFRelease(desc);
4224442244
}

0 commit comments

Comments
 (0)