Skip to content

Commit

Permalink
crypto: api - Remove digest case from procfs show handler
Browse files Browse the repository at this point in the history
Remove special handling of old-style digest algorithms from the procfs
show handler.

Signed-off-by: Benjamin Gilbert <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
bgilbert authored and herbertx committed Oct 19, 2009
1 parent 2141b63 commit 085751b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions crypto/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,6 @@ static int c_show(struct seq_file *m, void *p)
seq_printf(m, "max keysize : %u\n",
alg->cra_cipher.cia_max_keysize);
break;

case CRYPTO_ALG_TYPE_DIGEST:
seq_printf(m, "type : digest\n");
seq_printf(m, "blocksize : %u\n", alg->cra_blocksize);
seq_printf(m, "digestsize : %u\n",
alg->cra_digest.dia_digestsize);
break;
case CRYPTO_ALG_TYPE_COMPRESS:
seq_printf(m, "type : compression\n");
break;
Expand Down

0 comments on commit 085751b

Please sign in to comment.