Revert of Adding iOS OpenSSL Implementation (patchset #23 id:420001 of https://codereview.chromium.org/1810153002/ )
Reason for revert:
Broken iOS build: https://build.chromium.org/p/chromium.mac/builders/iOS_Device/builds/44491/steps/compile/logs/stdio
Let's try relanding with the potential fix from https://codereview.chromium.org/1834583006 merged in.
Original issue's description:
> This adds the OpenSSL-specific implementations for iOS, using SecTrustEvaluate in order to determine the validity of the certificate chain.
>
> BUG=591545
>
> Committed: https://crrev.com/864f9468ae2a8d1ba95c64824ef2caf05b7121fc
> Cr-Commit-Position: refs/heads/master@{#383297}
[email protected],[email protected],[email protected]
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=591545
Review URL: https://codereview.chromium.org/1838513002
Cr-Commit-Position: refs/heads/master@{#383301}
diff --git a/net/BUILD.gn b/net/BUILD.gn
index 550d3b3..b6390a79 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -320,14 +320,6 @@
]
}
- if (is_ios && use_nss_verifier) {
- net_shared_sources -= [
- "cert/cert_verify_proc_ios.cc",
- "cert/cert_verify_proc_ios.h",
- "cert/x509_certificate_openssl_ios.cc",
- ]
- }
-
if (is_chromecast && use_nss_certs) {
net_shared_sources += [ "ssl/ssl_platform_key_chromecast.cc" ]
net_shared_sources -= [ "ssl/ssl_platform_key_nss.cc" ]
@@ -384,10 +376,6 @@
]
}
- if (is_ios && !use_nss_verifier) {
- net_shared_sources += [ "cert/test_root_certs_mac.cc" ]
- }
-
if (is_ios || is_mac) {
net_shared_sources += gypi_values.net_base_mac_ios_sources
}
@@ -1448,7 +1436,7 @@
]
data_deps = []
- if (use_openssl) {
+ if (!is_ios) {
data_deps += [ "third_party/nist-pkits/" ]
}