Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67032
b: refs/heads/master
c: d805848
h: refs/heads/master
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Oct 10, 2007
1 parent a2a28e5 commit f0ae908
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 70613783fc0f6e37b442d79e8417f71a2b71ed93
refs/heads/master: d8058480b35dbc3d1e6085b3f13b80af27def09e
5 changes: 5 additions & 0 deletions trunk/crypto/algapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ static int __crypto_register_alg(struct crypto_alg *alg,
if (crypto_is_larval(q)) {
struct crypto_larval *larval = (void *)q;

/*
* Check to see if either our generic name or
* specific name can satisfy the name requested
* by the larval entry q.
*/
if (strcmp(alg->cra_name, q->cra_name) &&
strcmp(alg->cra_driver_name, q->cra_name))
continue;
Expand Down

0 comments on commit f0ae908

Please sign in to comment.