summaryrefslogtreecommitdiff
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2017-02-10 12:01:01 +0800
committerAlex Shi <alex.shi@linaro.org>2017-02-10 12:01:01 +0800
commit106bdd9b95b3da7d762c4e0e59427444ff9f455d (patch)
tree98faf0ff11c604f2f257186efe6b438ccfce7e65 /crypto/algapi.c
parentd8715e9813acd06f36ae484d569573b1972c5ec8 (diff)
parentfd0d0fd17f47e0015e5be2a1e58434144a5f99e0 (diff)
Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android
Diffstat (limited to 'crypto/algapi.c')
-rw-r--r--crypto/algapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/algapi.c b/crypto/algapi.c
index 59bf491fe3d8..43f5bdb6b570 100644
--- a/crypto/algapi.c
+++ b/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;