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:
Kvarec Lezki 2023-02-02 16:56:01 +05:00 committed by Daniel Stenberg
parent 2537808d9e
commit 97f7f668d6
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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; \
} \