Curl_HMAC_MD5: fix the array init to not warn with picky compilers
This commit is contained in:
parent
dfce37da23
commit
a5b7e3205d
16
lib/md5.c
16
lib/md5.c
@ -371,13 +371,15 @@ static void Decode (UINT4 *output,
|
|||||||
|
|
||||||
#endif /* USE_GNUTLS */
|
#endif /* USE_GNUTLS */
|
||||||
|
|
||||||
const HMAC_params Curl_HMAC_MD5[1] = {
|
const HMAC_params Curl_HMAC_MD5[] = {
|
||||||
(HMAC_hinit_func) MD5_Init, /* Hash initialization function. */
|
{
|
||||||
(HMAC_hupdate_func) MD5_Update, /* Hash update function. */
|
(HMAC_hinit_func) MD5_Init, /* Hash initialization function. */
|
||||||
(HMAC_hfinal_func) MD5_Final, /* Hash computation end function. */
|
(HMAC_hupdate_func) MD5_Update, /* Hash update function. */
|
||||||
sizeof(MD5_CTX), /* Size of hash context structure. */
|
(HMAC_hfinal_func) MD5_Final, /* Hash computation end function. */
|
||||||
64, /* Maximum key length. */
|
sizeof(MD5_CTX), /* Size of hash context structure. */
|
||||||
16 /* Result size. */
|
64, /* Maximum key length. */
|
||||||
|
16 /* Result size. */
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user