The compare code which looks for identical driver compares "driver name"
with "algorithm name" instead of "driver name" with "driver name".
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
Herbert, it looks like a typo to me. I'm not sure.
--- a/crypto/algapi.c
+++ b/crypto/algapi.c
@@ -153,7 +153,7 @@ static int __crypto_register_alg(struct
struct crypto_larval *larval = (void *)q;
if (strcmp(alg->cra_name, q->cra_name) &&
- strcmp(alg->cra_driver_name, q->cra_name))
+ strcmp(alg->cra_driver_name, q->cra_driver_name))
continue;
if (larval->adult)
-
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html