Mercurial > dropbear
comparison libtomcrypt/src/mac/hmac/hmac_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 |
---|---|
30 int hmac_file(int hash, const char *fname, | 30 int hmac_file(int hash, const char *fname, |
31 const unsigned char *key, unsigned long keylen, | 31 const unsigned char *key, unsigned long keylen, |
32 unsigned char *out, unsigned long *outlen) | 32 unsigned char *out, unsigned long *outlen) |
33 { | 33 { |
34 #ifdef LTC_NO_FILE | 34 #ifdef LTC_NO_FILE |
35 (void)hash; (void)fname; (void)key; (void)keylen; (void)out; (void)outlen; | |
35 return CRYPT_NOP; | 36 return CRYPT_NOP; |
36 #else | 37 #else |
37 hmac_state hmac; | 38 hmac_state hmac; |
38 FILE *in; | 39 FILE *in; |
39 unsigned char buf[512]; | 40 unsigned char buf[512]; |