diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-15 20:39:05 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-15 20:39:05 +0800 |
commit | f9b6c2feec61da989c5a090cf2344842b6743b2c (patch) | |
tree | 8a5c0631b09285151754460e3025540991547b66 /crypto/pcompress.c | |
parent | d81c7d3904d88e2706b883d1d93637b0b6ddf5dc (diff) | |
download | linux-crypto-f9b6c2feec61da989c5a090cf2344842b6743b2c.tar.gz linux-crypto-f9b6c2feec61da989c5a090cf2344842b6743b2c.zip |
crypto: ahash - Fix setkey crash
When the alignment check was made unconditional for ahash we
may end up crashing on shash algorithms because we're always
calling alg->setkey instead of tfm->setkey.
This patch fixes it.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/pcompress.c')
0 files changed, 0 insertions, 0 deletions