1
0
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:
Chris Araman 2018-03-17 13:49:27 -07:00 committed by Daniel Stenberg
parent f982e49f0c
commit b7b2809a21

View File

@ -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
}
}