aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/compress.c
diff options
context:
space:
mode:
authorMichal Ludvig <michal@logix.cz>2006-05-21 18:28:06 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2006-06-26 03:34:40 -0400
commit110bf1c0e932615cbe43a8af8a07bc3750ae4295 (patch)
tree9bf86514298535a6a8615f6136306b6859853e21 /crypto/compress.c
parent82062c72cd643c99a9e1c231270acbab986fd23f (diff)
[CRYPTO] api: Fixed incorrect passing of context instead of tfm
Fix a few omissions in passing TFM instead of CTX to algorithms. Signed-off-by: Michal Ludvig <michal@logix.cz> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/compress.c')
-rw-r--r--crypto/compress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/compress.c b/crypto/compress.c
index c12fc0c41dac..f3e07334afd0 100644
--- a/crypto/compress.c
+++ b/crypto/compress.c
@@ -44,7 +44,7 @@ int crypto_init_compress_ops(struct crypto_tfm *tfm)
44 int ret = 0; 44 int ret = 0;
45 struct compress_tfm *ops = &tfm->crt_compress; 45 struct compress_tfm *ops = &tfm->crt_compress;
46 46
47 ret = tfm->__crt_alg->cra_compress.coa_init(crypto_tfm_ctx(tfm)); 47 ret = tfm->__crt_alg->cra_compress.coa_init(tfm);
48 if (ret) 48 if (ret)
49 goto out; 49 goto out;
50 50
@@ -57,5 +57,5 @@ out:
57 57
58void crypto_exit_compress_ops(struct crypto_tfm *tfm) 58void crypto_exit_compress_ops(struct crypto_tfm *tfm)
59{ 59{
60 tfm->__crt_alg->cra_compress.coa_exit(crypto_tfm_ctx(tfm)); 60 tfm->__crt_alg->cra_compress.coa_exit(tfm);
61} 61}