mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 11:35:07 -05:00
darwinssl: fix iOS build
This commit is contained in:
parent
f982e49f0c
commit
b7b2809a21
@ -1195,12 +1195,14 @@ static OSStatus CopyIdentityFromPKCS12File(const char *cPath,
|
||||
*out_cert_and_key = (SecIdentityRef) identity;
|
||||
break;
|
||||
}
|
||||
#if CURL_BUILD_MAC_10_7
|
||||
else if(itemID == SecCertificateGetTypeID()) {
|
||||
status = SecIdentityCreateWithCertificate(NULL,
|
||||
(SecCertificateRef) item,
|
||||
out_cert_and_key);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user