Skip to content

Commit

Permalink
crypto: ahash - Fix digest size in /proc/crypto
Browse files Browse the repository at this point in the history
crypto_ahash_show changed to use cra_ahash for digestsize reference.

Signed-off-by: Lee Nipper <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
Lee Nipper authored and herbertx committed Feb 19, 2009
1 parent 8eb2dfa commit bb402f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/ahash.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg)
seq_printf(m, "async : %s\n", alg->cra_flags & CRYPTO_ALG_ASYNC ?
"yes" : "no");
seq_printf(m, "blocksize : %u\n", alg->cra_blocksize);
seq_printf(m, "digestsize : %u\n", alg->cra_hash.digestsize);
seq_printf(m, "digestsize : %u\n", alg->cra_ahash.digestsize);
}

const struct crypto_type crypto_ahash_type = {
Expand Down

0 comments on commit bb402f1

Please sign in to comment.