Title: [265155] trunk/Source/WebCore
Revision
265155
Author
[email protected]
Date
2020-07-31 12:39:18 -0700 (Fri, 31 Jul 2020)

Log Message

Fix Windows build.
https://bugs.webkit.org/show_bug.cgi?id=214988

* platform/network/cf/CertificateInfo.h:
* platform/network/cf/CertificateInfoCFNet.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (265154 => 265155)


--- trunk/Source/WebCore/ChangeLog	2020-07-31 19:24:08 UTC (rev 265154)
+++ trunk/Source/WebCore/ChangeLog	2020-07-31 19:39:18 UTC (rev 265155)
@@ -1,3 +1,11 @@
+2020-07-31  Alex Christensen  <[email protected]>
+
+        Fix Windows build.
+        https://bugs.webkit.org/show_bug.cgi?id=214988
+
+        * platform/network/cf/CertificateInfo.h:
+        * platform/network/cf/CertificateInfoCFNet.cpp:
+
 2020-07-31  Chris Dumez  <[email protected]>
 
         Add constructor for WaveShaperNode

Modified: trunk/Source/WebCore/platform/network/cf/CertificateInfo.h (265154 => 265155)


--- trunk/Source/WebCore/platform/network/cf/CertificateInfo.h	2020-07-31 19:24:08 UTC (rev 265154)
+++ trunk/Source/WebCore/platform/network/cf/CertificateInfo.h	2020-07-31 19:39:18 UTC (rev 265155)
@@ -97,7 +97,9 @@
     mutable RetainPtr<CFArrayRef> m_certificateChain;
 };
 
+#if PLATFORM(COCOA)
 WEBCORE_EXPORT bool certificatesMatch(SecTrustRef, SecTrustRef);
+#endif
 
 } // namespace WebCore
 

Modified: trunk/Source/WebCore/platform/network/cf/CertificateInfoCFNet.cpp (265154 => 265155)


--- trunk/Source/WebCore/platform/network/cf/CertificateInfoCFNet.cpp	2020-07-31 19:24:08 UTC (rev 265154)
+++ trunk/Source/WebCore/platform/network/cf/CertificateInfoCFNet.cpp	2020-07-31 19:39:18 UTC (rev 265155)
@@ -32,6 +32,7 @@
 
 namespace WebCore {
 
+#if PLATFORM(COCOA)
 bool certificatesMatch(SecTrustRef trust1, SecTrustRef trust2)
 {
     if (!trust1 || !trust2)
@@ -54,7 +55,6 @@
     return true;
 }
 
-#if PLATFORM(COCOA)
 RetainPtr<CFArrayRef> CertificateInfo::certificateChainFromSecTrust(SecTrustRef trust)
 {
     auto count = SecTrustGetCertificateCount(trust);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to