mirror of
https://github.com/curl/curl.git
synced 2026-05-30 05:17:30 +03:00
darwinssl: fix iOS build
This commit is contained in:
parent
f982e49f0c
commit
b7b2809a21
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue