summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-12-17 08:57:38 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2007-02-07 09:21:00 +1100
commitf833fd25a47509778f863d9c7b22b672254030eb (patch)
treed675c404d430af7d6951f089e834c925d3358051
parent48b8f2a3ccc0291a2f1c5b25905488b30e6898be (diff)
downloadlinux-crypto-f833fd25a47509778f863d9c7b22b672254030eb.tar.gz
linux-crypto-f833fd25a47509778f863d9c7b22b672254030eb.zip
[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>
-rw-r--r--crypto/tcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 57882c2c..8c8e2f95 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;