diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-12-16 16:57:38 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2007-02-06 17:21:00 -0500 |
commit | ba8da2a9485f22455dcb06dd17e2f6d94b81ba89 (patch) | |
tree | 63a1017121582c7dc803fa444656679acc5576c5 /crypto/tcrypt.c | |
parent | 90831639a65592d6d3dc888dc3341f54ebf932e6 (diff) |
[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 <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.c')
-rw-r--r-- | crypto/tcrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 57882c2c5f71..8c8e2f95dc7e 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c | |||
@@ -767,7 +767,7 @@ static void test_deflate(void) | |||
767 | memcpy(tvmem, deflate_comp_tv_template, tsize); | 767 | memcpy(tvmem, deflate_comp_tv_template, tsize); |
768 | tv = (void *)tvmem; | 768 | tv = (void *)tvmem; |
769 | 769 | ||
770 | tfm = crypto_alloc_tfm("deflate", 0); | 770 | tfm = crypto_alloc_comp("deflate", 0, CRYPTO_ALG_ASYNC); |
771 | if (tfm == NULL) { | 771 | if (tfm == NULL) { |
772 | printk("failed to load transform for deflate\n"); | 772 | printk("failed to load transform for deflate\n"); |
773 | return; | 773 | return; |