mirror of
https://github.com/curl/curl.git
synced 2026-07-16 08:27:16 +03:00
md5: Code style to return CURLE_OK rather than numeric 0
This commit is contained in:
parent
51b81e9b6e
commit
28f826b3bf
1 changed files with 2 additions and 2 deletions
|
|
@ -551,7 +551,7 @@ int Curl_MD5_update(MD5_context *context,
|
||||||
{
|
{
|
||||||
(*context->md5_hash->md5_update_func)(context->md5_hashctx, data, len);
|
(*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)
|
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->md5_hashctx);
|
||||||
free(context);
|
free(context);
|
||||||
|
|
||||||
return 0;
|
return CURLE_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CURL_DISABLE_CRYPTO_AUTH */
|
#endif /* CURL_DISABLE_CRYPTO_AUTH */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue