crypto: shash - Fix async finup handling of null digest
commitcbc86b9161b40f95caee0e56381b68956fc28cc4
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 15 Jul 2009 13:26:41 +0000 (15 21:26 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 15 Jul 2009 13:26:41 +0000 (15 21:26 +0800)
tree0170d3692f1bd5aadf07a219641f0658877cbfdd
parentfa64966473830219fe74952029ddb0e981a87749
crypto: shash - Fix async finup handling of null digest

When shash_ahash_finup encounters a null request, we end up not
calling the underlying final function.  This patch fixes that.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/shash.c