Commit b7b2809a authored by Chris Araman's avatar Chris Araman Committed by Daniel Stenberg
Browse files

darwinssl: fix iOS build

parent f982e49f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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
      }
    }