diff options
Diffstat (limited to 'crypto/proc.c')
-rw-r--r-- | crypto/proc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/proc.c b/crypto/proc.c index 9e573b17..dabce06 100644 --- a/crypto/proc.c +++ b/crypto/proc.c @@ -78,7 +78,10 @@ static int c_show(struct seq_file *m, void *p) seq_printf(m, "type : compression\n"); break; default: - seq_printf(m, "type : unknown\n"); + if (alg->cra_type && alg->cra_type->show) + alg->cra_type->show(m, alg); + else + seq_printf(m, "type : unknown\n"); break; } |