summaryrefslogtreecommitdiff
path: root/crypto/scompress.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/scompress.c')
-rw-r--r--crypto/scompress.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/scompress.c b/crypto/scompress.c
index c330b81bc5a6..f7ce29b4cdb8 100644
--- a/crypto/scompress.c
+++ b/crypto/scompress.c
@@ -347,6 +347,7 @@ static const struct crypto_type crypto_scomp_type = {
.maskset = CRYPTO_ALG_TYPE_MASK,
.type = CRYPTO_ALG_TYPE_SCOMPRESS,
.tfmsize = offsetof(struct crypto_scomp, base),
+ .algsize = offsetof(struct scomp_alg, base),
};
static void scomp_prepare_alg(struct scomp_alg *alg)