]> Pileus Git - ~andy/linux/commitdiff
crypto: api - Remove digest case from procfs show handler
authorBenjamin Gilbert <bgilbert@cs.cmu.edu>
Mon, 19 Oct 2009 03:57:20 +0000 (12:57 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 19 Oct 2009 03:57:20 +0000 (12:57 +0900)
Remove special handling of old-style digest algorithms from the procfs
show handler.

Signed-off-by: Benjamin Gilbert <bgilbert@cs.cmu.edu>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/proc.c

index 5dc07e442fca00f73359b53cb44669d4250bafc2..ff4cb4a357f912071bef3b6ba61eb3103f0dce6a 100644 (file)
@@ -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;