mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-02-04 01:15:05 +01:00
formatting
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user