aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
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 f0aed0106adb..11f935953816 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,
691 if (ret) 691 if (ret)
692 goto out; 692 goto out;
693 } 693 }
694 crypto_hash_final(desc, out); 694 ret = crypto_hash_final(desc, out);
695 if (ret) 695 if (ret)
696 goto out; 696 goto out;
697 } 697 }