Changeset 213087 in webkit


Ignore:
Timestamp:
Feb 27, 2017 12:51:43 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

[WinCairo][MiniBrowser] Add ca-bundle to display secure pages
https://bugs.webkit.org/show_bug.cgi?id=168486

Patch by Basuke Suzuki <Basuke.Suzuki@am.sony.com> on 2017-02-27
Reviewed by Alex Christensen.

change the order of path location search to make it possible to
configure with environment variable because bundled ca-bundle is
always available now.

  • platform/network/curl/ResourceHandleManager.cpp:

(WebCore::certificatePath):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r213084 r213087  
     12017-02-27  Basuke Suzuki  <Basuke.Suzuki@am.sony.com>
     2
     3        [WinCairo][MiniBrowser] Add ca-bundle to display secure pages
     4        https://bugs.webkit.org/show_bug.cgi?id=168486
     5
     6        Reviewed by Alex Christensen.
     7
     8        change the order of path location search to make it possible to
     9        configure with environment variable because bundled ca-bundle is
     10        always available now.
     11
     12        * platform/network/curl/ResourceHandleManager.cpp:
     13        (WebCore::certificatePath):
     14
    1152017-02-27  Antoine Quint  <graouts@apple.com>
    216
  • trunk/Source/WebCore/platform/network/curl/ResourceHandleManager.cpp

    r212993 r213087  
    101101static CString certificatePath()
    102102{
     103    char* envPath = getenv("CURL_CA_BUNDLE_PATH");
     104    if (envPath)
     105        return envPath;
     106
    103107#if USE(CF)
    104108    CFBundleRef webKitBundleRef = webKitBundle();
     
    112116    }
    113117#endif
    114     char* envPath = getenv("CURL_CA_BUNDLE_PATH");
    115     if (envPath)
    116        return envPath;
    117118
    118119    return CString();
Note: See TracChangeset for help on using the changeset viewer.