summaryrefslogtreecommitdiff
path: root/crypto/shash.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2023-10-22 01:10:59 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2023-10-27 18:04:29 +0800
commit88b873d24bc4dfc870def262bc2b867988e2f2d6 (patch)
tree0b21cafd0c250f9abd1167a00f7b8e3bd794e2fd /crypto/shash.c
parent66b3c618ce304706ee3dc571c0b27f902dae8e8c (diff)
downloadlinux-crypto-88b873d24bc4dfc870def262bc2b867988e2f2d6.tar.gz
linux-crypto-88b873d24bc4dfc870def262bc2b867988e2f2d6.zip
crypto: ahash - check for shash type instead of not ahash type
Since the previous patch made crypto_shash_type visible to ahash.c, change checks for '->cra_type != &crypto_ahash_type' to '->cra_type == &crypto_shash_type'. This makes more sense and avoids having to forward-declare crypto_ahash_type. The result is still the same, since the type is either shash or ahash here. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions