Skip to content

Commit

Permalink
darwinssl: fix iOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-araman authored and bagder committed Mar 18, 2018
1 parent f982e49 commit b7b2809
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/vtls/darwinssl.c
Expand Up @@ -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
}
}

Expand Down

0 comments on commit b7b2809

Please sign in to comment.