diff options
| author | Miloslav Trmač <mitr@redhat.com> | 2010-07-24 03:02:59 +0200 |
|---|---|---|
| committer | Miloslav Trmač <mitr@redhat.com> | 2010-07-24 04:25:24 +0200 |
| commit | 32e0115f32c75f0bffdea599734774376cdf097b (patch) | |
| tree | 8cff55d57a65934e5103de6d2d28bcfab86e0ac1 /libtomcrypt/hashes/hash_memory_multi.c | |
| parent | 06520b6a96ac44d1c4c6e999c5d5ec725d11afa5 (diff) | |
Use algo_properties_st in hash_is_valid
Diffstat (limited to 'libtomcrypt/hashes/hash_memory_multi.c')
| -rw-r--r-- | libtomcrypt/hashes/hash_memory_multi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtomcrypt/hashes/hash_memory_multi.c b/libtomcrypt/hashes/hash_memory_multi.c index dd3b524..79cfd2b 100644 --- a/libtomcrypt/hashes/hash_memory_multi.c +++ b/libtomcrypt/hashes/hash_memory_multi.c @@ -42,7 +42,7 @@ int hash_memory_multi(const struct algo_properties_st *hash, unsigned char *out, LTC_ARGCHK(out != NULL); LTC_ARGCHK(outlen != NULL); - if ((err = hash_is_valid(hash->algo)) != CRYPT_OK) { + if ((err = hash_is_valid(hash)) != CRYPT_OK) { return err; } |
