⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 280969 in webkit


Ignore:
Timestamp:
Aug 12, 2021, 8:48:58 AM (5 years ago)
Author:
Chris Dumez
Message:

Unreviewed API test build fix with recent MacOS SDK.

  • TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm:

(verifyCertificateAndPublicKey):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r280967 r280969  
     12021-08-12  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed API test build fix with recent MacOS SDK.
     4
     5        * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm:
     6        (verifyCertificateAndPublicKey):
     7
    182021-08-12  Jonathan Bedard  <jbedard@apple.com>
    29
  • trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm

    r278590 r280969  
    427427
    428428#if HAVE(SEC_TRUST_COPY_CERTIFICATE_CHAIN)
    429     auto certificate = adoptCF(CFArrayGetValueAtIndex(adoptCF(SecTrustCopyCertificateChain(trust)).get(), 0));
     429    auto certificate = adoptCF((CFDataRef)CFArrayGetValueAtIndex(adoptCF(SecTrustCopyCertificateChain(trust)).get(), 0));
    430430#else
    431431    auto certificate = adoptCF(SecCertificateCopyData(SecTrustGetCertificateAtIndex(trust, 0)));
Note: See TracChangeset for help on using the changeset viewer.