[webkit-changes] [WebKit/WebKit] a845b7: [Curl] Use CURLOPT_CAINFO_BLOB to set Certificate ...

Kenji Shukuwa noreply at github.com
Mon Nov 21 03:57:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a845b7e4ec0490d1d8f5d7e7f5ddf44fef0b6f17
      https://github.com/WebKit/WebKit/commit/a845b7e4ec0490d1d8f5d7e7f5ddf44fef0b6f17
  Author: Kenji Shukuwa <kenji.shukuwa at open-tec.co.jp>
  Date:   2022-11-21 (Mon, 21 Nov 2022)

  Changed paths:
    M Source/WebCore/platform/network/curl/CurlContext.cpp
    M Source/WebCore/platform/network/curl/CurlContext.h
    M Source/WebCore/platform/network/curl/CurlSSLVerifier.cpp

  Log Message:
  -----------
  [Curl] Use CURLOPT_CAINFO_BLOB to set Certificate Authority bundle
https://bugs.webkit.org/show_bug.cgi?id=248165

Reviewed by Fujii Hironori.

Use CURLOPT_CAINFO_BLOB to set Certificate Authority (CA) bundle
from memory.

* Source/WebCore/platform/network/curl/CurlContext.cpp:
(WebCore::CurlHandle::enableSSLForHost):
(WebCore::CurlHandle::setCACertBlob):
* Source/WebCore/platform/network/curl/CurlContext.h:
* Source/WebCore/platform/network/curl/CurlSSLVerifier.cpp:
(WebCore::CurlSSLVerifier::CurlSSLVerifier):

Canonical link: https://commits.webkit.org/256904@main




More information about the webkit-changes mailing list