aboutsummaryrefslogtreecommitdiff
path: root/src/gpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpg.c')
-rw-r--r--src/gpg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpg.c b/src/gpg.c
index f4cade4..e014e14 100644
--- a/src/gpg.c
+++ b/src/gpg.c
@@ -243,6 +243,7 @@ verify_directive_signature (struct file_triplet *trp,
else
{
rc = 1;
+ UPDATE_STATS (STAT_BAD_SIGNATURE);
logmsg (LOG_ERR, "%s: directive verification failed: %s",
trp->name, gpgme_strerror (ec));
/* FIXME: Send mail to the project maintainer */
@@ -290,6 +291,7 @@ verify_detached_signature (struct file_triplet *trp,
return 0;
case exec_fail:
+ UPDATE_STATS (STAT_BAD_SIGNATURE);
logmsg (LOG_ERR, "BAD detached signature for %s", trp->name);
break;

Return to:

Send suggestions and report system problems to the System administrator.