formatting

This commit is contained in:
Brett
2025-06-04 18:29:05 -06:00
parent 0e2a3fd0b6
commit 89be92f1a8

View File

@@ -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);