X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=crypto%2Fshash.c;h=88a27de798480cc01eb0220cdf1f0002ddd897e4;hb=625b4a982788fefe1361daee2ea160192cd80572;hp=ecb1e3d39bf0776a0d8805a9f8fadd3ec288bcb0;hpb=4c7d83e8a8106d90d4eff971c8d070f718ac4f9c;p=deliverable%2Flinux.git diff --git a/crypto/shash.c b/crypto/shash.c index ecb1e3d39bf0..88a27de79848 100644 --- a/crypto/shash.c +++ b/crypto/shash.c @@ -355,8 +355,10 @@ int crypto_init_shash_ops_async(struct crypto_tfm *tfm) crt->finup = shash_async_finup; crt->digest = shash_async_digest; - if (alg->setkey) + if (alg->setkey) { crt->setkey = shash_async_setkey; + crt->has_setkey = true; + } if (alg->export) crt->export = shash_async_export; if (alg->import)