summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjonrumsey <jrumsey@uk.ibm.com>2021-02-03 20:58:26 +0000
committerDaniel Stenberg <daniel@haxx.se>2021-02-04 08:39:15 +0100
commit20faeee6f36b5fcdf20b6c4684cc9dc4a62381a4 (patch)
tree06f2d686dbb4378cf4f6524fe23213f6fb5f3f23
parenta030c59c6d288161614bf1c23b34cf2ab0393802 (diff)
downloadcurl-20faeee6f36b5fcdf20b6c4684cc9dc4a62381a4.tar.gz
OS400: update for CURLOPT_AWS_SIGV4
chkstrings fails because a new string option that could require codepage conversion has been added. Closes #6561 Fixes #6560
-rw-r--r--packages/OS400/ccsidcurl.c3
-rw-r--r--packages/OS400/chkstrings.c4
-rw-r--r--packages/OS400/curl.inc.in4
3 files changed, 7 insertions, 4 deletions
diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c
index 0faa9b04c..069481dae 100644
--- a/packages/OS400/ccsidcurl.c
+++ b/packages/OS400/ccsidcurl.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.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
@@ -1112,6 +1112,7 @@ curl_easy_setopt_ccsid(CURL *curl, CURLoption tag, ...)
case CURLOPT_ABSTRACT_UNIX_SOCKET:
case CURLOPT_ALTSVC:
+ case CURLOPT_AWS_SIGV4:
case CURLOPT_CAINFO:
case CURLOPT_CAPATH:
case CURLOPT_COOKIE:
diff --git a/packages/OS400/chkstrings.c b/packages/OS400/chkstrings.c
index caa0ecab5..919a856dd 100644
--- a/packages/OS400/chkstrings.c
+++ b/packages/OS400/chkstrings.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.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
@@ -36,7 +36,7 @@
* values can be updated to match the latest enum values in urldata.h.
*/
#define EXPECTED_STRING_LASTZEROTERMINATED (STRING_SSL_EC_CURVES + 1)
-#define EXPECTED_STRING_LAST (STRING_COPYPOSTFIELDS + 1)
+#define EXPECTED_STRING_LAST (STRING_AWS_SIGV4 + 1)
int main(int argc, char *argv[])
{
diff --git a/packages/OS400/curl.inc.in b/packages/OS400/curl.inc.in
index 461184ead..0e9387622 100644
--- a/packages/OS400/curl.inc.in
+++ b/packages/OS400/curl.inc.in
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.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
@@ -1456,6 +1456,8 @@
d c 40297
d CURLOPT_SSL_EC_CURVES...
d c 10298
+ d CURLOPT_AWS_SIG4...
+ d c 10305
*
/if not defined(CURL_NO_OLDIES)
d CURLOPT_FILE c 10001