summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt/src/hashes/helper
diff options
context:
space:
mode:
authorGaël PORTAY <gael.portay@gmail.com>2015-05-02 12:16:06 +0200
committerGaël PORTAY <gael.portay@gmail.com>2015-05-05 20:39:13 +0200
commit6086851fc1d8e0d149d2ec4acd7521f7c5d860ac (patch)
tree548181f3ac29f7c7f7ae0f9a50a78c3a9e675625 /libtomcrypt/src/hashes/helper
parentd9d97969a35e437a8af7a1793b484783360ceca7 (diff)
Fix unused parameters warnings [-Werror=unused-parameter]
Diffstat (limited to 'libtomcrypt/src/hashes/helper')
-rw-r--r--libtomcrypt/src/hashes/helper/hash_file.c1
-rw-r--r--libtomcrypt/src/hashes/helper/hash_filehandle.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libtomcrypt/src/hashes/helper/hash_file.c b/libtomcrypt/src/hashes/helper/hash_file.c
index a92025c..df31606 100644
--- a/libtomcrypt/src/hashes/helper/hash_file.c
+++ b/libtomcrypt/src/hashes/helper/hash_file.c
@@ -25,6 +25,7 @@
int hash_file(int hash, const char *fname, unsigned char *out, unsigned long *outlen)
{
#ifdef LTC_NO_FILE
+ (void)hash; (void)fname; (void)out; (void)outlen;
return CRYPT_NOP;
#else
FILE *in;
diff --git a/libtomcrypt/src/hashes/helper/hash_filehandle.c b/libtomcrypt/src/hashes/helper/hash_filehandle.c
index be2cbf9..03155ea 100644
--- a/libtomcrypt/src/hashes/helper/hash_filehandle.c
+++ b/libtomcrypt/src/hashes/helper/hash_filehandle.c
@@ -26,6 +26,7 @@
int hash_filehandle(int hash, FILE *in, unsigned char *out, unsigned long *outlen)
{
#ifdef LTC_NO_FILE
+ (void)hash; (void)in; (void)out; (void)outlen;
return CRYPT_NOP;
#else
hash_state md;