From 32e0115f32c75f0bffdea599734774376cdf097b Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Sat, 24 Jul 2010 03:02:59 +0200 Subject: Use algo_properties_st in hash_is_valid --- libtomcrypt/headers/tomcrypt_hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtomcrypt/headers') diff --git a/libtomcrypt/headers/tomcrypt_hash.h b/libtomcrypt/headers/tomcrypt_hash.h index 380bf7d..e4e84e4 100644 --- a/libtomcrypt/headers/tomcrypt_hash.h +++ b/libtomcrypt/headers/tomcrypt_hash.h @@ -2,7 +2,7 @@ struct algo_properties_st; -int hash_is_valid(int idx); +int hash_is_valid(const struct algo_properties_st *hash); int hash_memory(const struct algo_properties_st *hash, const unsigned char *in, unsigned long inlen, -- cgit