X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=crypto%2Ftcrypt.c;h=11f9359538166c37a5b152b515f13f2262622072;hb=17c50b4102b32842224824b30d9182af9f582b90;hp=f0aed0106adb1cbf7068f93277857a8bd725e174;hpb=18062a91d2ddc40e19fc674afeb7cad58cfa23ab;p=~andy%2Flinux 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; }