Skip to content
Permalink
Browse files

md5: Code style to return CURLE_OK rather than numeric 0

  • Loading branch information...
captain-caveman2k committed Apr 14, 2019
1 parent 51b81e9 commit 28f826b3bff05791bf11e5b96c68cc0fee4ca7df
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 */

0 comments on commit 28f826b

Please sign in to comment.
You can’t perform that action at this time.