summaryrefslogtreecommitdiffstats
path: root/kernel/crypto/algapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/crypto/algapi.c')
-rw-r--r--kernel/crypto/algapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/crypto/algapi.c b/kernel/crypto/algapi.c
index f98e79c8c..b54fd9187 100644
--- a/kernel/crypto/algapi.c
+++ b/kernel/crypto/algapi.c
@@ -357,6 +357,7 @@ int crypto_register_alg(struct crypto_alg *alg)
struct crypto_larval *larval;
int err;
+ alg->cra_flags &= ~CRYPTO_ALG_DEAD;
err = crypto_check_alg(alg);
if (err)
return err;