Commit dbad301d authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: acomp - Use cra_reqsize



Use the common reqsize if present.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent afddce13
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ static int crypto_acomp_init_tfm(struct crypto_tfm *tfm)

	acomp->compress = alg->compress;
	acomp->decompress = alg->decompress;
	acomp->reqsize = alg->reqsize;
	acomp->reqsize = alg->base.cra_reqsize ?: alg->reqsize;

	acomp->base.exit = crypto_acomp_exit_tfm;