diff options
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r-- | crypto/testmgr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index e3f9973abbdc..e76af78d2fa0 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c | |||
@@ -2234,6 +2234,10 @@ test_done: | |||
2234 | if (fips_enabled && rc) | 2234 | if (fips_enabled && rc) |
2235 | panic("%s: %s alg self test failed in fips mode!\n", driver, alg); | 2235 | panic("%s: %s alg self test failed in fips mode!\n", driver, alg); |
2236 | 2236 | ||
2237 | if (fips_enabled && !rc) | ||
2238 | printk(KERN_INFO "alg: self-tests for %s (%s) passed\n", | ||
2239 | driver, alg); | ||
2240 | |||
2237 | return rc; | 2241 | return rc; |
2238 | 2242 | ||
2239 | notest: | 2243 | notest: |