comparison libtomcrypt/src/hashes/helper/hash_filehandle.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
24 @result CRYPT_OK if successful 24 @result CRYPT_OK if successful
25 */ 25 */
26 int hash_filehandle(int hash, FILE *in, unsigned char *out, unsigned long *outlen) 26 int hash_filehandle(int hash, FILE *in, unsigned char *out, unsigned long *outlen)
27 { 27 {
28 #ifdef LTC_NO_FILE 28 #ifdef LTC_NO_FILE
29 (void)hash; (void)in; (void)out; (void)outlen;
29 return CRYPT_NOP; 30 return CRYPT_NOP;
30 #else 31 #else
31 hash_state md; 32 hash_state md;
32 unsigned char buf[512]; 33 unsigned char buf[512];
33 size_t x; 34 size_t x;