diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/algapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/algapi.c b/crypto/algapi.c index 3e4524e6139b..d49d7091cecf 100644 --- a/crypto/algapi.c +++ b/crypto/algapi.c | |||
@@ -543,7 +543,7 @@ int crypto_init_spawn2(struct crypto_spawn *spawn, struct crypto_alg *alg, | |||
543 | { | 543 | { |
544 | int err = -EINVAL; | 544 | int err = -EINVAL; |
545 | 545 | ||
546 | if (frontend && (alg->cra_flags ^ frontend->type) & frontend->maskset) | 546 | if ((alg->cra_flags ^ frontend->type) & frontend->maskset) |
547 | goto out; | 547 | goto out; |
548 | 548 | ||
549 | spawn->frontend = frontend; | 549 | spawn->frontend = frontend; |