diff --git a/src/internal.c b/src/internal.c index 00cfac1e2..a7779b423 100644 --- a/src/internal.c +++ b/src/internal.c @@ -42789,7 +42789,8 @@ static int DoAppleNativeCertValidation(WOLFSSL* ssl, ssl->buffers.domainName.length > 0) { /* Create policy with specified value to require host name match */ hostname = CFStringCreateWithCString(kCFAllocatorDefault, - (const char*)ssl->buffers.domainName.buffer, kCFStringEncodingUTF8); + (const char*)ssl->buffers.domainName.buffer, + kCFStringEncodingUTF8); } if (hostname != NULL) { policy = SecPolicyCreateSSL(true, hostname);