[haiku-webkit-commits] r584 - webkit/trunk/WebCore/platform/network/curl

  • From: noreply@xxxxxxxxxxxx
  • To: haiku-webkit-commits@xxxxxxxxxxxxx
  • Date: Sun, 19 Feb 2012 14:36:57 +0100 (CET)

Author: anevilyak
Date: Sun Feb 19 14:36:56 2012
New Revision: 584
URL: http://webpositive.haiku-os.org/changeset/584

Log:
Patch by Matt Madia and Chris Roberts: Update Web+'s curl backend to look
in the new location in /boot/common/data/ssl.

Modified:
   webkit/trunk/WebCore/platform/network/curl/ResourceHandleManager.cpp

Modified: webkit/trunk/WebCore/platform/network/curl/ResourceHandleManager.cpp
==============================================================================
--- webkit/trunk/WebCore/platform/network/curl/ResourceHandleManager.cpp        
Sun Jul 10 22:37:23 2011        (r583)
+++ webkit/trunk/WebCore/platform/network/curl/ResourceHandleManager.cpp        
Sun Feb 19 14:36:56 2012        (r584)
@@ -88,8 +88,8 @@
     }
 #elif PLATFORM(HAIKU)
     BPath path;
-    if (find_directory(B_COMMON_DIRECTORY, &path) == B_OK
-        && path.Append("ssl/certs/cacert.pem") == B_OK) {
+    if (find_directory(B_COMMON_DATA_DIRECTORY, &path) == B_OK
+        && path.Append("ssl/cert.pem") == B_OK) {
         BEntry entry(path.Path());
         if (entry.Exists())
             return path.Path();
@@ -213,7 +213,7 @@
         if (realmEnd >= 0)
             realm = challenge.substring(realmStart, realmEnd - realmStart);
     }
-    
+
     ProtectionSpace protectionSpace(url.host(), url.port(), serverType, realm, 
scheme);
     ResourceError resourceError(url.host(), 401, url.string(), String());
 
@@ -846,7 +846,7 @@
     if (!certificatePath().length()) {
         static bool warningPrinted = false;
         if (!warningPrinted) {
-            fprintf(stderr, "Disabling support for SSL certificates, no CA 
bundle in /boot/common/ssl/certs.\n");
+            fprintf(stderr, "Disabling support for SSL certificates, no CA 
bundle in /boot/common/data/ssl.\n");
             warningPrinted = true;
         }
 #else

Other related posts:

  • » [haiku-webkit-commits] r584 - webkit/trunk/WebCore/platform/network/curl - noreply