diff options
author | Steve Holme <steve_holme@hotmail.com> | 2019-04-16 00:08:42 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2019-04-16 00:08:42 +0100 |
commit | 07ba22166716510036b29d3cc59994dffbd13aee (patch) | |
tree | efeb4085882d0ce12af1ad28ff3fea62a366a5a7 | |
parent | 0a9f3edeb3892635b1062602a19a4bd365475ae0 (diff) |
md5: Update the function signature following d84da52d
-rw-r--r-- | lib/curl_md5.h | 10 |
1 files changed, 5 insertions, 5 deletions
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, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, 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 |