Skip to content

Commit bb402f1

Browse files
Lee Nipperherbertx
authored andcommitted
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>
1 parent 8eb2dfa commit bb402f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎crypto/ahash.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg)
214214
seq_printf(m, "async : %s\n", alg->cra_flags & CRYPTO_ALG_ASYNC ?
215215
"yes" : "no");
216216
seq_printf(m, "blocksize : %u\n", alg->cra_blocksize);
217-
seq_printf(m, "digestsize : %u\n", alg->cra_hash.digestsize);
217+
seq_printf(m, "digestsize : %u\n", alg->cra_ahash.digestsize);
218218
}
219219

220220
const struct crypto_type crypto_ahash_type = {

0 commit comments

Comments
 (0)