Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[CRYPTO] tcrypt: Removed vestigial crypto_alloc_tfm call



The crypto_comp conversion missed the last remaining crypto_alloc_tfm
call.  This patch replaces it with crypto_alloc_comp.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 90831639
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -767,7 +767,7 @@ static void test_deflate(void)
	memcpy(tvmem, deflate_comp_tv_template, tsize);
	tv = (void *)tvmem;

	tfm = crypto_alloc_tfm("deflate", 0);
	tfm = crypto_alloc_comp("deflate", 0, CRYPTO_ALG_ASYNC);
	if (tfm == NULL) {
		printk("failed to load transform for deflate\n");
		return;