c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
16 lines
798 B
Diff
16 lines
798 B
Diff
diff --git a/src/3rdparty/chromium/net/cert/x509_util_apple.cc b/src/3rdparty/chromium/net/cert/x509_util_apple.cc
|
|
index ae69948dfca..7062a9a9b97 100644
|
|
--- a/src/3rdparty/chromium/net/cert/x509_util_apple.cc
|
|
+++ b/src/3rdparty/chromium/net/cert/x509_util_apple.cc
|
|
@@ -139,11 +139,6 @@ SHA256HashValue CalculateFingerprint256(SecCertificateRef cert) {
|
|
|
|
base::ScopedCFTypeRef<CFArrayRef> CertificateChainFromSecTrust(
|
|
SecTrustRef trust) {
|
|
- if (__builtin_available(macOS 12.0, iOS 15.0, *)) {
|
|
- return base::ScopedCFTypeRef<CFArrayRef>(
|
|
- SecTrustCopyCertificateChain(trust));
|
|
- }
|
|
-
|
|
base::ScopedCFTypeRef<CFMutableArrayRef> chain(
|
|
CFArrayCreateMutable(kCFAllocatorDefault, 0, &kCFTypeArrayCallBacks));
|
|
const CFIndex chain_length = SecTrustGetCertificateCount(trust);
|