aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2020-02-29 21:17:21 +0100
committerMathias Kresin <dev@kresin.me>2020-03-16 22:28:16 +0100
commit588d574eb9ce7198873439d8f6cffd2e336b0417 (patch)
treeb403dcb339a91232dfa7263241221e31fe23e500 /package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c
parent3fa5f058f603013347ea34e91d9193abb832299a (diff)
downloadupstream-588d574eb9ce7198873439d8f6cffd2e336b0417.tar.gz
upstream-588d574eb9ce7198873439d8f6cffd2e336b0417.tar.bz2
upstream-588d574eb9ce7198873439d8f6cffd2e336b0417.zip
lantiq: ltq-deu: fix compatibility with Linux 5.3+
Upstream commit 84ede58dfcd1d ("crypto: hash - remove CRYPTO_ALG_TYPE_DIGEST") drops the CRYPTO_ALG_TYPE_DIGEST define because it has the same value as CRYPTO_ALG_TYPE_HASH. This was the case for earlier kernels as well. Switch to CRYPTO_ALG_TYPE_HASH to fix building against Linux 5.4. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Diffstat (limited to 'package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c')
-rw-r--r--package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c b/package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c
index 55cea1ccee..11cb64799e 100644
--- a/package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c
+++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c
@@ -270,7 +270,7 @@ static struct shash_alg ifxdeu_md5_alg = {
.cra_name = "md5",
.cra_driver_name= "ifxdeu-md5",
.cra_priority = 300,
- .cra_flags = CRYPTO_ALG_TYPE_DIGEST,
+ .cra_flags = CRYPTO_ALG_TYPE_HASH,
.cra_blocksize = MD5_HMAC_BLOCK_SIZE,
.cra_module = THIS_MODULE,
}