mirror of
https://github.com/curl/curl.git
synced 2025-04-18 16:30:45 +08: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
@ -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…
x
Reference in New Issue
Block a user