Changeset 261148 in webkit
- Timestamp:
- May 4, 2020 10:10:02 PM (4 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r261110 r261148 1 2020-05-04 Darin Adler <darin@apple.com> 2 3 Remove now-unneeded HAVE(SEC_TRUST_EVALUATE_WITH_ERROR) 4 https://bugs.webkit.org/show_bug.cgi?id=211429 5 6 Reviewed by Alex Christensen. 7 8 * wtf/PlatformHave.h: Don't set HAVE_SEC_TRUST_EVALUATE_WITH_ERROR. 9 1 10 2020-05-04 Darin Adler <darin@apple.com> 2 11 -
trunk/Source/WTF/wtf/PlatformHave.h
r261098 r261148 544 544 #endif 545 545 546 #if PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400) || PLATFORM(WATCHOS) || PLATFORM(APPLETV) || PLATFORM(MACCATALYST)547 #define HAVE_SEC_TRUST_EVALUATE_WITH_ERROR 1548 #endif549 550 546 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500 551 547 #define HAVE_SUBVIEWS_IVAR_SPI 1 -
trunk/Source/WebCore/ChangeLog
r261143 r261148 1 2020-05-04 Darin Adler <darin@apple.com> 2 3 Remove now-unneeded HAVE(SEC_TRUST_EVALUATE_WITH_ERROR) 4 https://bugs.webkit.org/show_bug.cgi?id=211429 5 6 Reviewed by Alex Christensen. 7 8 * platform/network/cocoa/ResourceResponseCocoa.mm: 9 (WebCore::ResourceResponse::platformCertificateInfo const): 10 Remove HAVE(SEC_TRUST_EVALUATE_WITH_ERROR). 11 1 12 2020-05-04 Simon Fraser <simon.fraser@apple.com> 2 13 -
trunk/Source/WebCore/platform/network/cocoa/ResourceResponseCocoa.mm
r261013 r261148 97 97 98 98 if (trustResultType == kSecTrustResultInvalid) { 99 #if HAVE(SEC_TRUST_EVALUATE_WITH_ERROR)100 99 if (!SecTrustEvaluateWithError(trust, nullptr)) 101 100 return { }; 102 #else103 result = SecTrustEvaluate(trust, &trustResultType);104 if (result != errSecSuccess)105 return { };106 #endif107 101 } 108 102 -
trunk/Source/WebKit/ChangeLog
r261146 r261148 1 2020-05-04 Darin Adler <darin@apple.com> 2 3 Remove now-unneeded HAVE(SEC_TRUST_EVALUATE_WITH_ERROR) 4 https://bugs.webkit.org/show_bug.cgi?id=211429 5 6 Reviewed by Alex Christensen. 7 8 * UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm: 9 (-[WKFullScreenWindowController _EVOrganizationName]): 10 Remove HAVE(SEC_TRUST_EVALUATE_WITH_ERROR). 11 1 12 2020-05-04 Kate Cheney <katherine_cheney@apple.com> 2 13 -
trunk/Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm
r260150 r261148 936 936 // and the only way to get the information we need is to call SecTrustEvaluate ourselves. 937 937 if (!infoDictionary) { 938 #if HAVE(SEC_TRUST_EVALUATE_WITH_ERROR)939 938 if (!SecTrustEvaluateWithError(trust, nullptr)) 940 939 return nil; 941 #else942 SecTrustResultType result = kSecTrustResultProceed;943 OSStatus err = SecTrustEvaluate(trust, &result);944 if (err != noErr)945 return nil;946 #endif947 940 infoDictionary = CFBridgingRelease(SecTrustCopyInfo(trust)); 948 941 if (!infoDictionary)
Note: See TracChangeset
for help on using the changeset viewer.