mirror of
https://github.com/curl/curl.git
synced 2025-09-15 16:42:41 +03:00
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
This commit is contained in:
parent
3b7a8a25b6
commit
3f0b81c112
|
@ -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 */
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user