aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2017-10-06 19:01:19 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2017-10-06 19:01:19 +0200
commit202189ff2c832bf39e7e6d9a6b8b2c980cc4201b (patch)
treee3577fd45f2550ce85edd4699e1c08d587e9ea2a
parent7f1140c8bfc47dd9b7a8010818e97e87a289bfaf (diff)
vtls: fix warnings with --disable-crypto-auth
When CURL_DISABLE_CRYPTO_AUTH is defined, Curl_none_md5sum's parameters are not used.
-rw-r--r--lib/vtls/vtls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c
index f95652520..e1cae1b40 100644
--- a/lib/vtls/vtls.c
+++ b/lib/vtls/vtls.c
@@ -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