]> err.no Git - linux-2.6/commitdiff
[CRYPTO] tcrypt: Removed vestigial crypto_alloc_tfm call
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 16 Dec 2006 21:57:38 +0000 (08:57 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 6 Feb 2007 22:21:00 +0000 (09:21 +1100)
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 <herbert@gondor.apana.org.au>
crypto/tcrypt.c

index 57882c2c5f71f2a85d035283486f2ef556cf630a..8c8e2f95dc7ecfb89a21ab3ef663986ae840c94e 100644 (file)
@@ -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;