summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGisle Vanem <gisle.vanem@gmail.com>2021-01-15 13:12:51 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-15 13:13:32 +0100
commitcbf04469733926422a1dfb13b5b90a7962434b5c (patch)
tree52a35df3a300fb9695fe25e1b3a6ae5adee0a34d /lib
parent3d0b62fdbe9336890f038c7ee687a4d7e2c39a50 (diff)
downloadcurl-cbf04469733926422a1dfb13b5b90a7962434b5c.tar.gz
easyoptions: add the missing AWS_SIGV4
Follow-up from AWS_SIGV4
Diffstat (limited to 'lib')
-rw-r--r--lib/easyoptions.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/easyoptions.c b/lib/easyoptions.c
index f236da23a..b54829ba3 100644
--- a/lib/easyoptions.c
+++ b/lib/easyoptions.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* ___|___/|_| ______|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -35,6 +35,7 @@ struct curl_easyoption Curl_easyopts[] = {
{"ALTSVC_CTRL", CURLOPT_ALTSVC_CTRL, CURLOT_LONG, 0},
{"APPEND", CURLOPT_APPEND, CURLOT_LONG, 0},
{"AUTOREFERER", CURLOPT_AUTOREFERER, CURLOT_LONG, 0},
+ {"AWS_SIGV4", CURLOPT_AWS_SIGV4, CURLOT_STRING, 0},
{"BUFFERSIZE", CURLOPT_BUFFERSIZE, CURLOT_LONG, 0},
{"CAINFO", CURLOPT_CAINFO, CURLOT_STRING, 0},
{"CAPATH", CURLOPT_CAPATH, CURLOT_STRING, 0},
@@ -348,6 +349,6 @@ struct curl_easyoption Curl_easyopts[] = {
*/
int Curl_easyopts_check(void)
{
- return (CURLOPT_LASTENTRY != (304 + 1));
+ return ((CURLOPT_LASTENTRY%10000) != (305 + 1));
}
#endif