Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74185
b: refs/heads/master
c: 38cb241
h: refs/heads/master
i:
  74183: f3d9553
v: v3
  • Loading branch information
Herbert Xu committed Nov 23, 2007
1 parent 50a647a commit c017c8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f347c4facfee3d11eb9cd1c070ab471a8fb7401e
refs/heads/master: 38cb2419f544ad413c7f7aa8c17fd7377610cdd8
6 changes: 3 additions & 3 deletions trunk/crypto/algapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ static void crypto_remove_spawn(struct crypto_spawn *spawn,
return;

inst->alg.cra_flags |= CRYPTO_ALG_DEAD;
if (hlist_unhashed(&inst->list))
return;

if (!tmpl || !crypto_tmpl_get(tmpl))
return;

Expand Down Expand Up @@ -335,9 +338,6 @@ int crypto_register_instance(struct crypto_template *tmpl,
LIST_HEAD(list);
int err = -EINVAL;

if (inst->alg.cra_destroy)
goto err;

err = crypto_check_alg(&inst->alg);
if (err)
goto err;
Expand Down

0 comments on commit c017c8f

Please sign in to comment.