diff options
Diffstat (limited to 'runtime/staprun/modverify.c')
-rw-r--r-- | runtime/staprun/modverify.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/staprun/modverify.c b/runtime/staprun/modverify.c index b897d266..688734c0 100644 --- a/runtime/staprun/modverify.c +++ b/runtime/staprun/modverify.c @@ -149,8 +149,11 @@ verify_it (const char *inputName, const char *signatureName, SECKEYPublicKey *pu /* Complete the verification. */ secStatus = VFY_End (vfy); - if (secStatus != SECSuccess) + if (secStatus != SECSuccess) { + fprintf (stderr, "Unable to verify signed module %s. It may have been altered since it was created.\n", inputName); + nssError (); return 0; + } return 1; } |