]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
OS400: update for CURLOPT_AWS_SIGV4
authorjonrumsey <jrumsey@uk.ibm.com>
Wed, 3 Feb 2021 20:58:26 +0000 (20:58 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 4 Feb 2021 07:39:15 +0000 (08:39 +0100)
chkstrings fails because a new string option that could require codepage
conversion has been added.

Closes #6561
Fixes #6560

packages/OS400/ccsidcurl.c
packages/OS400/chkstrings.c
packages/OS400/curl.inc.in

index 0faa9b04c34698bd7a4dc58839ea7e2640cc0af6..069481daeaff31cc42ea6ae508dfa54e249d964a 100644 (file)
@@ -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:
index caa0ecab597ceda94443f8dbf3167932401d082a..919a856dda4e7c31f4cd12c18b3af3810b152dfc 100644 (file)
@@ -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[])
 {
index 461184ead2e44caf98dbe93a14f89e64c66734e8..0e93876227be8741f8ef4cb197cad634b8675fcc 100644 (file)
@@ -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
      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