diff --git a/[refs] b/[refs] index 0552c6627756..f6573ec5bb21 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 70613783fc0f6e37b442d79e8417f71a2b71ed93 +refs/heads/master: d8058480b35dbc3d1e6085b3f13b80af27def09e diff --git a/trunk/crypto/algapi.c b/trunk/crypto/algapi.c index 58cc19164801..8ff8c2656d9c 100644 --- a/trunk/crypto/algapi.c +++ b/trunk/crypto/algapi.c @@ -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;