Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 078af423a71e82ce0563e34d19b7dacb034df5e3
https://github.com/WebKit/WebKit/commit/078af423a71e82ce0563e34d19b7dacb034df5e3
Author: Rose <[email protected]>
Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths:
M Source/WebCore/platform/network/cf/CertificateInfoCFNet.cpp
M Source/WebCore/platform/network/cocoa/CertificateInfoCocoa.mm
Log Message:
-----------
CFArrayGetCount not SecTrustGetCertificateCount
https://bugs.webkit.org/show_bug.cgi?id=250938
Reviewed by Chris Dumez.
We already have the CFArrayRef, so let's call CFArrayGetCount instead of
SecTrustGetCertificateCount.
* Source\WebCore\platform\network\cf\CertificateInfoCFNet.cpp:
(bool certificatesMatch(SecTrustRef trust1, SecTrustRef trust2)):
Obtain count1 and count2 from CFArrayGetCount if supported.
* Source\WebCore\platform\network\cocoa\CertificateInfoCocoa.mm:
(void CertificateInfo::dump() const): Obtain entries from
CFArrayGetCount if supported.
Canonical link: https://commits.webkit.org/259712@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes