summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/hashes/crypt_hash_is_valid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtomcrypt/hashes/crypt_hash_is_valid.c')
-rw-r--r--libtomcrypt/hashes/crypt_hash_is_valid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtomcrypt/hashes/crypt_hash_is_valid.c b/libtomcrypt/hashes/crypt_hash_is_valid.c
index 32e8699..d01d418 100644
--- a/libtomcrypt/hashes/crypt_hash_is_valid.c
+++ b/libtomcrypt/hashes/crypt_hash_is_valid.c
@@ -17,10 +17,10 @@
/*
Test if a hash index is valid
- @param idx The index of the hash to search for
+ @param idx The hash to search for
@return CRYPT_OK if valid
*/
-int hash_is_valid(int idx)
+int hash_is_valid(const struct algo_properties_st *hash)
{
return CRYPT_OK;
}