summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/network/curl/ResourceHandleCurl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/network/curl/ResourceHandleCurl.cpp')
-rw-r--r--WebCore/platform/network/curl/ResourceHandleCurl.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/WebCore/platform/network/curl/ResourceHandleCurl.cpp b/WebCore/platform/network/curl/ResourceHandleCurl.cpp
index 052ac56..f360f86 100644
--- a/WebCore/platform/network/curl/ResourceHandleCurl.cpp
+++ b/WebCore/platform/network/curl/ResourceHandleCurl.cpp
@@ -83,14 +83,6 @@ void WebCoreSynchronousLoader::didFail(ResourceHandle*, const ResourceError& err
m_error = error;
}
-
-static HashSet<String>& allowsAnyHTTPSCertificateHosts()
-{
- static HashSet<String> hosts;
-
- return hosts;
-}
-
ResourceHandleInternal::~ResourceHandleInternal()
{
fastFree(m_url);
@@ -133,6 +125,13 @@ bool ResourceHandle::supportsBufferedData()
}
#if PLATFORM(WIN) && PLATFORM(CF)
+static HashSet<String>& allowsAnyHTTPSCertificateHosts()
+{
+ static HashSet<String> hosts;
+
+ return hosts;
+}
+
void ResourceHandle::setHostAllowsAnyHTTPSCertificate(const String& host)
{
allowsAnyHTTPSCertificateHosts().add(host.lower());