Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148806
b: refs/heads/master
c: 941fb32
h: refs/heads/master
v: v3
  • Loading branch information
Jarod Wilson authored and Herbert Xu committed Jun 2, 2009
1 parent cfef991 commit 1f2ddc8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e08ca2da39db22da569dc23578103cdc942fe3ac
refs/heads/master: 941fb3287c0c0d84000b669db5450ac4886da640
4 changes: 3 additions & 1 deletion trunk/crypto/testmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -2220,7 +2220,8 @@ int alg_test(const char *driver, const char *alg, u32 type, u32 mask)
if (i < 0)
goto notest;

return alg_test_cipher(alg_test_descs + i, driver, type, mask);
rc = alg_test_cipher(alg_test_descs + i, driver, type, mask);
goto test_done;
}

i = alg_find_test(alg);
Expand All @@ -2229,6 +2230,7 @@ int alg_test(const char *driver, const char *alg, u32 type, u32 mask)

rc = alg_test_descs[i].test(alg_test_descs + i, driver,
type, mask);
test_done:
if (fips_enabled && rc)
panic("%s: %s alg self test failed in fips mode!\n", driver, alg);

Expand Down

0 comments on commit 1f2ddc8

Please sign in to comment.