[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 82/219: md5: Return CURLcode from the internally ac
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 82/219: md5: Return CURLcode from the internally accessible functions |
Date: |
Wed, 22 May 2019 19:17:01 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit d84da52d9f66eb17236062a5c1e19736b32859d7
Author: Steve Holme <address@hidden>
AuthorDate: Mon Apr 15 22:38:20 2019 +0100
md5: Return CURLcode from the internally accessible functions
Following 28f826b3 to return CURLE_OK instead of numeric 0.
---
lib/md5.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/md5.c b/lib/md5.c
index 44602b040..5c195f28d 100644
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -545,7 +545,7 @@ MD5_context *Curl_MD5_init(const MD5_params *md5params)
return ctxt;
}
-int Curl_MD5_update(MD5_context *context,
+CURLcode Curl_MD5_update(MD5_context *context,
const unsigned char *data,
unsigned int len)
{
@@ -554,7 +554,7 @@ int Curl_MD5_update(MD5_context *context,
return CURLE_OK;
}
-int Curl_MD5_final(MD5_context *context, unsigned char *result)
+CURLcode Curl_MD5_final(MD5_context *context, unsigned char *result)
{
(*context->md5_hash->md5_final_func)(result, context->md5_hashctx);
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnurl] 82/219: md5: Return CURLcode from the internally accessible functions,
gnunet <=