Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The has_key logic is wrong for shash algorithms as they always have a setkey function. So we should instead be testing against shash_no_setkey. Fixes: a5596d6 ("crypto: hash - Add crypto_ahash_has_setkey") Cc: [email protected] Reported-by: Stephan Mueller <[email protected]> Signed-off-by: Herbert Xu <[email protected]> Tested-by: Stephan Mueller <[email protected]>
- Loading branch information