summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Monnerat <patrick@monnerat.net>2023-04-25 12:22:55 +0200
committerJay Satiro <raysatiro@yahoo.com>2023-04-25 14:59:12 -0400
commit3f0b81c112ebfe826ed702a2987cc5e32082a7a6 (patch)
treeca256f4b3e30dad59aa2c28606f442a4ec10e49f
parent3b7a8a25b66aacb6a8b83088246b3cca30da19e5 (diff)
downloadcurl-3f0b81c112ebfe826ed702a2987cc5e32082a7a6.tar.gz
urldata: copy CURLOPT_AWS_SIGV4 value on handle duplication
Prior to this change STRING_AWS_SIGV4 (CURLOPT_AWS_SIGV4) was wrongly marked as binary data that could not be duplicated. Without this fix, this option's value is not copied upon calling curl_easy_duphandle(). Closes https://github.com/curl/curl/pull/11021
-rw-r--r--lib/urldata.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 777bc36f9..9aea44278 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -1562,6 +1562,7 @@ enum dupstring {
STRING_DNS_LOCAL_IP4,
STRING_DNS_LOCAL_IP6,
STRING_SSL_EC_CURVES,
+ STRING_AWS_SIGV4, /* Parameters for V4 signature */
/* -- end of null-terminated strings -- */
@@ -1571,8 +1572,6 @@ enum dupstring {
STRING_COPYPOSTFIELDS, /* if POST, set the fields' values here */
- STRING_AWS_SIGV4, /* Parameters for V4 signature */
-
STRING_LAST /* not used, just an end-of-list marker */
};