Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157943
b: refs/heads/master
c: f2ac72e
h: refs/heads/master
i:
  157941: f398a7d
  157939: f57f9f2
  157935: 5b7b291
v: v3
  • Loading branch information
Herbert Xu committed Jul 7, 2009
1 parent 160b771 commit 5b3d562
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fd09d7facb7cf3a884979eb5f843338ce1ce9b43
refs/heads/master: f2ac72e8268d9559c3114d5a22679f91f80a2238
5 changes: 5 additions & 0 deletions trunk/crypto/algboss.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ static int cryptomgr_probe(void *data)
goto err;

do {
if (tmpl->create) {
err = tmpl->create(tmpl, param->tb);
continue;
}

inst = tmpl->alloc(param->tb);
if (IS_ERR(inst))
err = PTR_ERR(inst);
Expand Down
1 change: 1 addition & 0 deletions trunk/include/crypto/algapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ struct crypto_template {

struct crypto_instance *(*alloc)(struct rtattr **tb);
void (*free)(struct crypto_instance *inst);
int (*create)(struct crypto_template *tmpl, struct rtattr **tb);

char name[CRYPTO_MAX_ALG_NAME];
};
Expand Down

0 comments on commit 5b3d562

Please sign in to comment.