[webkit-changes] [WebKit/WebKit] b26253: [Curl] Use CURLOPT_SSL_EC_CURVES to set key exchan...

Kenji Shukuwa noreply at github.com
Tue Nov 15 06:30:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b262535120dd95bc9d8425b14eb523fa16fe44c5
      https://github.com/WebKit/WebKit/commit/b262535120dd95bc9d8425b14eb523fa16fe44c5
  Author: Kenji Shukuwa <kenji.shukuwa at open-tec.co.jp>
  Date:   2022-11-15 (Tue, 15 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/CurlSSLHandle.h
    M Source/WebCore/platform/network/curl/CurlSSLVerifier.cpp
    M Source/WebCore/platform/network/playstation/CurlSSLHandlePlayStation.cpp

  Log Message:
  -----------
  [Curl] Use CURLOPT_SSL_EC_CURVES to set key exchange curves
https://bugs.webkit.org/show_bug.cgi?id=247933

Reviewed by Fujii Hironori.

CURLOPT_SSL_EC_CURVES option to set key exchange curves was
added in 7.73.0. So, we use this option instead of using OpenSSL API.

* Source/WebCore/platform/network/curl/CurlContext.cpp:
(WebCore::CurlHandle::enableSSLForHost):
(WebCore::CurlHandle::setSslECCurves):
* Source/WebCore/platform/network/curl/CurlContext.h:
* Source/WebCore/platform/network/curl/CurlSSLHandle.h:
(WebCore::CurlSSLHandle::cipherList const):
(WebCore::CurlSSLHandle::signatureAlgorithmsList const):
(WebCore::CurlSSLHandle::ecCurves const):
(WebCore::CurlSSLHandle::setCipherList):
(WebCore::CurlSSLHandle::setSignatureAlgorithmsList):
(WebCore::CurlSSLHandle::setECCurves):
(WebCore::CurlSSLHandle::getCipherList const): Deleted.
(WebCore::CurlSSLHandle::getSignatureAlgorithmsList const): Deleted.
(WebCore::CurlSSLHandle::getCurvesList const): Deleted.
(WebCore::CurlSSLHandle::setCurvesList): Deleted.
* Source/WebCore/platform/network/curl/CurlSSLVerifier.cpp:
(WebCore::CurlSSLVerifier::CurlSSLVerifier):
* Source/WebCore/platform/network/playstation/CurlSSLHandlePlayStation.cpp:
(WebCore::CurlSSLHandle::platformInitialize):

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




More information about the webkit-changes mailing list