X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=crypto%2Falgapi.c;h=c3cf1a69a47a8dcaa57e62410c9823ee4e2d045b;hb=80900d0140a7648587982c8f299830e900e49165;hp=76fae27ed01cb9834049e2b641d9e561ef0844e5;hpb=1c62c72b1a3c4478fb9069503d20c41b1f385ca1;p=pandora-kernel.git diff --git a/crypto/algapi.c b/crypto/algapi.c index 76fae27ed01c..c3cf1a69a47a 100644 --- a/crypto/algapi.c +++ b/crypto/algapi.c @@ -544,7 +544,7 @@ int crypto_init_spawn2(struct crypto_spawn *spawn, struct crypto_alg *alg, { int err = -EINVAL; - if (frontend && (alg->cra_flags ^ frontend->type) & frontend->maskset) + if ((alg->cra_flags ^ frontend->type) & frontend->maskset) goto out; spawn->frontend = frontend;