lantiq: ltq-deu: fix compatibility with Linux 5.3+
[openwrt/staging/mkresin.git] / package / kernel / lantiq / ltq-deu / src / ifxmips_sha1.c
index 968dc6fb6888800408feba5b102ab718017bed2d..d711c4804db505dc4d132442586b7c15f3d3b09d 100644 (file)
@@ -259,7 +259,7 @@ static struct shash_alg ifxdeu_sha1_alg = {
                 .cra_name       =       "sha1",
                 .cra_driver_name=       "ifxdeu-sha1",
                 .cra_priority   =       300,
-                .cra_flags      =       CRYPTO_ALG_TYPE_DIGEST,
+                .cra_flags      =       CRYPTO_ALG_TYPE_HASH,
                 .cra_blocksize  =       SHA1_HMAC_BLOCK_SIZE,
                 .cra_module     =       THIS_MODULE,
         }