17 lines
798 B
Diff
17 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);
|