Title: [280969] trunk/Tools
Revision
280969
Author
[email protected]
Date
2021-08-12 08:48:58 -0700 (Thu, 12 Aug 2021)

Log Message

Unreviewed API test build fix with recent MacOS SDK.

* TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm:
(verifyCertificateAndPublicKey):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (280968 => 280969)


--- trunk/Tools/ChangeLog	2021-08-12 15:47:18 UTC (rev 280968)
+++ trunk/Tools/ChangeLog	2021-08-12 15:48:58 UTC (rev 280969)
@@ -1,3 +1,10 @@
+2021-08-12  Chris Dumez  <[email protected]>
+
+        Unreviewed API test build fix with recent MacOS SDK.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm:
+        (verifyCertificateAndPublicKey):
+
 2021-08-12  Jonathan Bedard  <[email protected]>
 
         [check-github-mirror-integrity] Differentiate between slow sync and collapsed commits

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm (280968 => 280969)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm	2021-08-12 15:47:18 UTC (rev 280968)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm	2021-08-12 15:48:58 UTC (rev 280969)
@@ -426,7 +426,7 @@
     EXPECT_EQ(1, SecTrustGetCertificateCount(trust));
 
 #if HAVE(SEC_TRUST_COPY_CERTIFICATE_CHAIN)
-    auto certificate = adoptCF(CFArrayGetValueAtIndex(adoptCF(SecTrustCopyCertificateChain(trust)).get(), 0));
+    auto certificate = adoptCF((CFDataRef)CFArrayGetValueAtIndex(adoptCF(SecTrustCopyCertificateChain(trust)).get(), 0));
 #else
     auto certificate = adoptCF(SecCertificateCopyData(SecTrustGetCertificateAtIndex(trust, 0)));
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to