lantiq: ltq-deu: fix compatibility with Linux 5.3+
[openwrt/staging/mkresin.git] / package / kernel / lantiq / ltq-deu / src / ifxmips_md5_hmac.c
index 46797c972431b522d5f2d52d715ea73e6805df81..6cb2e5a417433505ef94506ae3f6a8be78817632 100644 (file)
@@ -346,7 +346,7 @@ static struct shash_alg ifxdeu_md5_hmac_alg = {
         .cra_driver_name=       "ifxdeu-md5_hmac",
         .cra_priority   =       400,
         .cra_ctxsize    =      sizeof(struct md5_hmac_ctx),
-        .cra_flags      =       CRYPTO_ALG_TYPE_DIGEST,
+        .cra_flags      =       CRYPTO_ALG_TYPE_HASH,
         .cra_blocksize  =       MD5_HMAC_BLOCK_SIZE,
         .cra_module     =       THIS_MODULE,
         }