X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=crypto%2Falgapi.c;h=c3cf1a69a47a8dcaa57e62410c9823ee4e2d045b;hb=faacebc50902d367071e788c6586882a32bf09f2;hp=76fae27ed01cb9834049e2b641d9e561ef0844e5;hpb=274a24c16fa97a1fc67437b191274db2286c7ac3;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;