summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/testmgr.c4
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:
if (fips_enabled && rc)
panic("%s: %s alg self test failed in fips mode!\n", driver, alg);
+ if (fips_enabled && !rc)
+ printk(KERN_INFO "alg: self-tests for %s (%s) passed\n",
+ driver, alg);
+
return rc;
notest: