Mercurial > dropbear
comparison libtomcrypt/src/hashes/helper/hash_file.c @ 1091:eef377591301
Fix unused parameters warnings [-Werror=unused-parameter]
author | Gaël PORTAY <gael.portay@gmail.com> |
---|---|
date | Sat, 02 May 2015 12:16:06 +0200 |
parents | 0cbe8f6dbf9e |
children | f849a5ca2efc |
comparison
equal
deleted
inserted
replaced
1090:93e1a0eb40ef | 1091:eef377591301 |
---|---|
23 @result CRYPT_OK if successful | 23 @result CRYPT_OK if successful |
24 */ | 24 */ |
25 int hash_file(int hash, const char *fname, unsigned char *out, unsigned long *outlen) | 25 int hash_file(int hash, const char *fname, unsigned char *out, unsigned long *outlen) |
26 { | 26 { |
27 #ifdef LTC_NO_FILE | 27 #ifdef LTC_NO_FILE |
28 (void)hash; (void)fname; (void)out; (void)outlen; | |
28 return CRYPT_NOP; | 29 return CRYPT_NOP; |
29 #else | 30 #else |
30 FILE *in; | 31 FILE *in; |
31 int err; | 32 int err; |
32 LTC_ARGCHK(fname != NULL); | 33 LTC_ARGCHK(fname != NULL); |