Loading lib/md5.c +6 −1 Original line number Original line Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * \___|\___/|_| \_\_____| * * * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. * * * This software is licensed as described in the file COPYING, which * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * you should have received as part of this distribution. The terms Loading Loading @@ -484,6 +484,11 @@ static void MD5_Final(unsigned char *result, MD5_CTX *ctx) #endif /* CRYPTO LIBS */ #endif /* CRYPTO LIBS */ /* Disable this picky gcc-8 compiler warning */ #if defined(__GNUC__) && (__GNUC__ >= 8) #pragma GCC diagnostic ignored "-Wcast-function-type" #endif const HMAC_params Curl_HMAC_MD5[] = { const HMAC_params Curl_HMAC_MD5[] = { { { (HMAC_hinit_func) MD5_Init, /* Hash initialization function. */ (HMAC_hinit_func) MD5_Init, /* Hash initialization function. */ Loading src/tool_metalink.c +6 −1 Original line number Original line Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * \___|\___/|_| \_\_____| * * * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. * * * This software is licensed as described in the file COPYING, which * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * you should have received as part of this distribution. The terms Loading Loading @@ -461,6 +461,11 @@ static void SHA256_Final(unsigned char digest[32], SHA256_CTX *ctx) #endif /* CRYPTO LIBS */ #endif /* CRYPTO LIBS */ /* Disable this picky gcc-8 compiler warning */ #if defined(__GNUC__) && (__GNUC__ >= 8) #pragma GCC diagnostic ignored "-Wcast-function-type" #endif const digest_params MD5_DIGEST_PARAMS[] = { const digest_params MD5_DIGEST_PARAMS[] = { { { (Curl_digest_init_func) MD5_Init, (Curl_digest_init_func) MD5_Init, Loading Loading
lib/md5.c +6 −1 Original line number Original line Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * \___|\___/|_| \_\_____| * * * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. * * * This software is licensed as described in the file COPYING, which * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * you should have received as part of this distribution. The terms Loading Loading @@ -484,6 +484,11 @@ static void MD5_Final(unsigned char *result, MD5_CTX *ctx) #endif /* CRYPTO LIBS */ #endif /* CRYPTO LIBS */ /* Disable this picky gcc-8 compiler warning */ #if defined(__GNUC__) && (__GNUC__ >= 8) #pragma GCC diagnostic ignored "-Wcast-function-type" #endif const HMAC_params Curl_HMAC_MD5[] = { const HMAC_params Curl_HMAC_MD5[] = { { { (HMAC_hinit_func) MD5_Init, /* Hash initialization function. */ (HMAC_hinit_func) MD5_Init, /* Hash initialization function. */ Loading
src/tool_metalink.c +6 −1 Original line number Original line Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * \___|\___/|_| \_\_____| * * * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. * * * This software is licensed as described in the file COPYING, which * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * you should have received as part of this distribution. The terms Loading Loading @@ -461,6 +461,11 @@ static void SHA256_Final(unsigned char digest[32], SHA256_CTX *ctx) #endif /* CRYPTO LIBS */ #endif /* CRYPTO LIBS */ /* Disable this picky gcc-8 compiler warning */ #if defined(__GNUC__) && (__GNUC__ >= 8) #pragma GCC diagnostic ignored "-Wcast-function-type" #endif const digest_params MD5_DIGEST_PARAMS[] = { const digest_params MD5_DIGEST_PARAMS[] = { { { (Curl_digest_init_func) MD5_Init, (Curl_digest_init_func) MD5_Init, Loading