mirror of
https://github.com/curl/curl.git
synced 2026-05-07 02:47:32 +03:00
http_aws_sigv4: remove typecasts from HMAC_SHA256 macro
V220: Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. https://pvs-studio.com/en/docs/warnings/v220/ Closes #10400
This commit is contained in:
parent
2537808d9e
commit
97f7f668d6
1 changed files with 2 additions and 2 deletions
|
|
@ -48,9 +48,9 @@
|
|||
do { \
|
||||
ret = Curl_hmacit(Curl_HMAC_SHA256, \
|
||||
(unsigned char *)k, \
|
||||
(unsigned int)kl, \
|
||||
kl, \
|
||||
(unsigned char *)d, \
|
||||
(unsigned int)dl, o); \
|
||||
dl, o); \
|
||||
if(ret) { \
|
||||
goto fail; \
|
||||
} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue