From: Herbert Xu Date: Sat, 16 Dec 2006 21:57:38 +0000 (+1100) Subject: [CRYPTO] tcrypt: Removed vestigial crypto_alloc_tfm call X-Git-Tag: v2.6.21-rc1~83^2~65^2~2^2~12 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba8da2a9485f22455dcb06dd17e2f6d94b81ba89;p=linux-2.6 [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: Herbert Xu --- diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 57882c2c5f..8c8e2f95dc 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -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;