summaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-18 20:46:45 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-18 20:46:45 -0700
commit66123549dbd75c67509c73b9d94bf7a9d2f4b286 (patch)
tree98588139d6cf56d524e5ce09d736f882f8e1bd4f /crypto/tcrypt.c
parent1a06a52ee1b0cdb65222474ba6186f3991df68b0 (diff)
parent29059d12e0c7f349aca6993acac20c5efbe13b81 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: [CRYPTO] tcrypt: Add missing error check [CRYPTO] padlock: Make CRYPTO_DEV_PADLOCK a tristate again
Diffstat (limited to 'crypto/tcrypt.c')
-rw-r--r--crypto/tcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index f0aed0106ad..11f93595381 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -691,7 +691,7 @@ static int test_hash_cycles(struct hash_desc *desc, char *p, int blen,
if (ret)
goto out;
}
- crypto_hash_final(desc, out);
+ ret = crypto_hash_final(desc, out);
if (ret)
goto out;
}