summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2019-04-14 08:42:36 +0100
committerSteve Holme <steve_holme@hotmail.com>2019-04-14 08:42:36 +0100
commit28f826b3bff05791bf11e5b96c68cc0fee4ca7df (patch)
tree2e88bcc2436e6086a0e931fb047ea7e615639ead /lib
parent51b81e9b6e76b8422b556645f390578a9cc20f32 (diff)
downloadcurl-28f826b3bff05791bf11e5b96c68cc0fee4ca7df.tar.gz
md5: Code style to return CURLE_OK rather than numeric 0
Diffstat (limited to 'lib')
-rw-r--r--lib/md5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/md5.c b/lib/md5.c
index a7ef35430..36bad8908 100644
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -551,7 +551,7 @@ int Curl_MD5_update(MD5_context *context,
{
(*context->md5_hash->md5_update_func)(context->md5_hashctx, data, len);
- return 0;
+ return CURLE_OK;
}
int Curl_MD5_final(MD5_context *context, unsigned char *result)
@@ -561,7 +561,7 @@ int Curl_MD5_final(MD5_context *context, unsigned char *result)
free(context->md5_hashctx);
free(context);
- return 0;
+ return CURLE_OK;
}
#endif /* CURL_DISABLE_CRYPTO_AUTH */