summaryrefslogtreecommitdiff
path: root/lib/easyoptions.c
diff options
context:
space:
mode:
authorMichael Baentsch <57787676+baentsch@users.noreply.github.com>2020-08-29 14:09:24 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-08-30 17:24:04 +0200
commitede125b7b7ca8fc5a1fe3d7c1aee6bff2ea0bf24 (patch)
treeef1c1fd2071ecad350d6f89b6524d218b1dfe562 /lib/easyoptions.c
parenta337355487c4c3305a4c0703282fdcbe008d4998 (diff)
downloadcurl-ede125b7b7ca8fc5a1fe3d7c1aee6bff2ea0bf24.tar.gz
tls: add CURLOPT_SSL_EC_CURVES and --curves
Closes #5892
Diffstat (limited to 'lib/easyoptions.c')
-rw-r--r--lib/easyoptions.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/easyoptions.c b/lib/easyoptions.c
index 3294c1d0b..9145ba7fc 100644
--- a/lib/easyoptions.c
+++ b/lib/easyoptions.c
@@ -278,6 +278,7 @@ struct curl_easyoption Curl_easyopts[] = {
{"SSL_CIPHER_LIST", CURLOPT_SSL_CIPHER_LIST, CURLOT_STRING, 0},
{"SSL_CTX_DATA", CURLOPT_SSL_CTX_DATA, CURLOT_CBPTR, 0},
{"SSL_CTX_FUNCTION", CURLOPT_SSL_CTX_FUNCTION, CURLOT_FUNCTION, 0},
+ {"SSL_EC_CURVES", CURLOPT_SSL_EC_CURVES, CURLOT_STRING, 0},
{"SSL_ENABLE_ALPN", CURLOPT_SSL_ENABLE_ALPN, CURLOT_LONG, 0},
{"SSL_ENABLE_NPN", CURLOPT_SSL_ENABLE_NPN, CURLOT_LONG, 0},
{"SSL_FALSESTART", CURLOPT_SSL_FALSESTART, CURLOT_LONG, 0},
@@ -341,6 +342,6 @@ struct curl_easyoption Curl_easyopts[] = {
*/
int Curl_easyopts_check(void)
{
- return (CURLOPT_LASTENTRY != (297 + 1));
+ return (CURLOPT_LASTENTRY != (298 + 1));
}
#endif