summaryrefslogtreecommitdiff
path: root/crypto/ahash.c
diff options
context:
space:
mode:
authorLee Nipper <lee.nipper@freescale.com>2009-02-19 14:46:26 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-02-19 14:46:26 +0800
commit5d4ead5666179d2464e8f7d9a88eefdcb3179683 (patch)
tree67d7518fa95b2586aea0bf28f555a238f8e5b4ee /crypto/ahash.c
parenteccd4ec34ac5e03d56c6a1bcf86f3b3182b2a460 (diff)
downloadlinux-crypto-5d4ead5666179d2464e8f7d9a88eefdcb3179683.tar.gz
linux-crypto-5d4ead5666179d2464e8f7d9a88eefdcb3179683.zip
crypto: ahash - Fix digest size in /proc/crypto
crypto_ahash_show changed to use cra_ahash for digestsize reference. Signed-off-by: Lee Nipper <lee.nipper@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ahash.c')
-rw-r--r--crypto/ahash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ahash.c b/crypto/ahash.c
index ba5292d6..b2d1ee32 100644
--- a/crypto/ahash.c
+++ b/crypto/ahash.c
@@ -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 = {