mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 05:58:01 -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;
|
*out_cert_and_key = (SecIdentityRef) identity;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#if CURL_BUILD_MAC_10_7
|
||||||
else if(itemID == SecCertificateGetTypeID()) {
|
else if(itemID == SecCertificateGetTypeID()) {
|
||||||
status = SecIdentityCreateWithCertificate(NULL,
|
status = SecIdentityCreateWithCertificate(NULL,
|
||||||
(SecCertificateRef) item,
|
(SecCertificateRef) item,
|
||||||
out_cert_and_key);
|
out_cert_and_key);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user