From: Steve Holme Date: Mon, 15 Apr 2019 23:08:42 +0000 (+0100) Subject: md5: Update the function signature following d84da52d X-Git-Tag: curl-7_65_0~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07ba22166716510036b29d3cc59994dffbd13aee;p=curl md5: Update the function signature following d84da52d --- diff --git a/lib/curl_md5.h b/lib/curl_md5.h index 5f70c9634..aaf25f61b 100644 --- a/lib/curl_md5.h +++ b/lib/curl_md5.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2010, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2019, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -53,10 +53,10 @@ void Curl_md5it(unsigned char *output, const unsigned char *input); MD5_context * Curl_MD5_init(const MD5_params *md5params); -int Curl_MD5_update(MD5_context *context, - const unsigned char *data, - unsigned int len); -int Curl_MD5_final(MD5_context *context, unsigned char *result); +CURLcode Curl_MD5_update(MD5_context *context, + const unsigned char *data, + unsigned int len); +CURLcode Curl_MD5_final(MD5_context *context, unsigned char *result); #endif