Skip to content

Commit

Permalink
vtls: fix warnings with --disable-crypto-auth
Browse files Browse the repository at this point in the history
When CURL_DISABLE_CRYPTO_AUTH is defined, Curl_none_md5sum's parameters
are not used.
  • Loading branch information
MarcelRaad committed Oct 6, 2017
1 parent 7f1140c commit 202189f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/vtls/vtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -1080,6 +1080,10 @@ CURLcode Curl_none_md5sum(unsigned char *input UNUSED_PARAM,
unsigned char *md5sum UNUSED_PARAM,
size_t md5len UNUSED_PARAM)
{
(void)input;
(void)inputlen;
(void)md5sum;
(void)md5len;
return CURLE_NOT_BUILT_IN;
}
#endif
Expand Down

0 comments on commit 202189f

Please sign in to comment.