]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - crypto/proc.c
[CRYPTO] api: Added crypto_type support
[linux-3.10.git] / crypto / proc.c
index 9e573b17e887961d0706b66c0fda6fb1e1cf2e6b..dabce0676f63abb358f469c98a57b44afdd774e1 100644 (file)
@@ -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;
        }