Commit bb402f16ecf9bcdb944b8fa730f0e43cae519673

Authored by Lee Nipper
Committed by Herbert Xu
1 parent 8eb2dfac41

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -214,7 +214,7 @@
214 214 seq_printf(m, "async : %s\n", alg->cra_flags & CRYPTO_ALG_ASYNC ?
215 215 "yes" : "no");
216 216 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);
218 218 }
219 219  
220 220 const struct crypto_type crypto_ahash_type = {