diff options
author | Michael Baentsch <57787676+baentsch@users.noreply.github.com> | 2020-08-29 14:09:24 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-08-30 17:24:04 +0200 |
commit | ede125b7b7ca8fc5a1fe3d7c1aee6bff2ea0bf24 (patch) | |
tree | ef1c1fd2071ecad350d6f89b6524d218b1dfe562 /include/curl/curl.h | |
parent | a337355487c4c3305a4c0703282fdcbe008d4998 (diff) | |
download | curl-ede125b7b7ca8fc5a1fe3d7c1aee6bff2ea0bf24.tar.gz |
tls: add CURLOPT_SSL_EC_CURVES and --curves
Closes #5892
Diffstat (limited to 'include/curl/curl.h')
-rw-r--r-- | include/curl/curl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 32d9bd4a7..9026aa5c1 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -2025,6 +2025,12 @@ typedef enum { CURLOPT(CURLOPT_PROXY_ISSUERCERT, CURLOPTTYPE_STRINGPOINT, 296), CURLOPT(CURLOPT_PROXY_ISSUERCERT_BLOB, CURLOPTTYPE_BLOB, 297), + /* the EC curves requested by the TLS client (RFC 8422, 5.1); + * OpenSSL support via 'set_groups'/'set_curves': + * https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set1_groups.html + */ + CURLOPT(CURLOPT_SSL_EC_CURVES, CURLOPTTYPE_STRINGPOINT, 298), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; |