Skip to content
Snippets Groups Projects
Commit a5b7e320 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Curl_HMAC_MD5: fix the array init to not warn with picky compilers

parent dfce37da
No related branches found
No related tags found
No related merge requests found
......@@ -371,13 +371,15 @@ static void Decode (UINT4 *output,
#endif /* USE_GNUTLS */
const HMAC_params Curl_HMAC_MD5[1] = {
(HMAC_hinit_func) MD5_Init, /* Hash initialization function. */
(HMAC_hupdate_func) MD5_Update, /* Hash update function. */
(HMAC_hfinal_func) MD5_Final, /* Hash computation end function. */
sizeof(MD5_CTX), /* Size of hash context structure. */
64, /* Maximum key length. */
16 /* Result size. */
const HMAC_params Curl_HMAC_MD5[] = {
{
(HMAC_hinit_func) MD5_Init, /* Hash initialization function. */
(HMAC_hupdate_func) MD5_Update, /* Hash update function. */
(HMAC_hfinal_func) MD5_Final, /* Hash computation end function. */
sizeof(MD5_CTX), /* Size of hash context structure. */
64, /* Maximum key length. */
16 /* Result size. */
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment