]> git.ipfire.org Git - thirdparty/curl.git/commit
openssl: enable CURLOPT_SSL_EC_CURVES with BoringSSL
authorlwthiker <lwt@lwthiker.com>
Mon, 28 Feb 2022 09:05:34 +0000 (11:05 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 8 Mar 2022 08:11:19 +0000 (09:11 +0100)
commit68dc5bcd4650ca0ced3175e5d2112e40c9da74a5
tree2c2c8637b33751e5a20270d522ca0270394f1b5b
parent9bd119515014f57192836633c3d3b8de3c4e6b93
openssl: enable CURLOPT_SSL_EC_CURVES with BoringSSL

The CURLOPT_SSL_EC_CURVES option (used by the '--curves' flag) in
libcurl was ignored when compiling with BoringSSL because
HAVE_SSL_CTX_SET_EC_CURVES was explicitly disabled if BoringSSL was
detected.  However, this feature is supported in BoringSSL since
5fd1807d. This commit enables it, and also reduces the required minimal
OpenSSL version to 1.0.2 as per OpenSSL's official documentation.

Fixes #8553
Closes #8556
lib/vtls/openssl.c