]> granicus.if.org Git - curl/commitdiff
md5: Update the function signature following d84da52d
authorSteve Holme <steve_holme@hotmail.com>
Mon, 15 Apr 2019 23:08:42 +0000 (00:08 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Mon, 15 Apr 2019 23:08:42 +0000 (00:08 +0100)
lib/curl_md5.h

index 5f70c96346b3ef35b1fcbace1baf5504ef8eeda7..aaf25f61bbd5d55b06e1c74e2806bfedf7282f1a 100644 (file)
@@ -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