diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vtls/darwinssl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vtls/darwinssl.c b/lib/vtls/darwinssl.c index f00a94295..f445302fa 100644 --- a/lib/vtls/darwinssl.c +++ b/lib/vtls/darwinssl.c @@ -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 } } |