mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 02:46:58 +00:00
Fix unused parameters warnings [-Werror=unused-parameter]
This commit is contained in:
parent
d9d97969a3
commit
6086851fc1
@ -728,6 +728,7 @@ int ECB_TEST(void)
|
||||
*/
|
||||
void ECB_DONE(symmetric_key *skey)
|
||||
{
|
||||
(void)skey;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1871,6 +1871,7 @@ void des_done(symmetric_key *skey)
|
||||
*/
|
||||
void des3_done(symmetric_key *skey)
|
||||
{
|
||||
(void)skey;
|
||||
}
|
||||
|
||||
|
||||
|
@ -684,6 +684,7 @@ int twofish_test(void)
|
||||
*/
|
||||
void twofish_done(symmetric_key *skey)
|
||||
{
|
||||
(void)skey;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -32,6 +32,7 @@ int hmac_file(int hash, const char *fname,
|
||||
unsigned char *out, unsigned long *outlen)
|
||||
{
|
||||
#ifdef LTC_NO_FILE
|
||||
(void)hash; (void)fname; (void)key; (void)keylen; (void)out; (void)outlen;
|
||||
return CRYPT_NOP;
|
||||
#else
|
||||
hmac_state hmac;
|
||||
|
Loading…
Reference in New Issue
Block a user