aboutsummaryrefslogtreecommitdiff
path: root/src/gpg.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-08-25 09:15:25 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-08-25 09:15:25 +0000
commit1107c4341552ecb568b43292fc219a73e0d49a0f (patch)
tree1095ae7b84be6871d5041f01fc63c21f2bb8738b /src/gpg.c
parente8e4051db6f9349b2be50a0806507e463cfb08e5 (diff)
downloadwydawca-1107c4341552ecb568b43292fc219a73e0d49a0f.tar.gz
wydawca-1107c4341552ecb568b43292fc219a73e0d49a0f.tar.bz2
Check access rights. Improve statistics
git-svn-id: file:///svnroot/wydawca/trunk@294 6bb4bd81-ecc2-4fd4-a2d4-9571d19c0d33
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,
243 else 243 else
244 { 244 {
245 rc = 1; 245 rc = 1;
246 UPDATE_STATS (STAT_BAD_SIGNATURE);
246 logmsg (LOG_ERR, "%s: directive verification failed: %s", 247 logmsg (LOG_ERR, "%s: directive verification failed: %s",
247 trp->name, gpgme_strerror (ec)); 248 trp->name, gpgme_strerror (ec));
248 /* FIXME: Send mail to the project maintainer */ 249 /* FIXME: Send mail to the project maintainer */
@@ -290,6 +291,7 @@ verify_detached_signature (struct file_triplet *trp,
290 return 0; 291 return 0;
291 292
292 case exec_fail: 293 case exec_fail:
294 UPDATE_STATS (STAT_BAD_SIGNATURE);
293 logmsg (LOG_ERR, "BAD detached signature for %s", trp->name); 295 logmsg (LOG_ERR, "BAD detached signature for %s", trp->name);
294 break; 296 break;
295 297

Return to:

Send suggestions and report system problems to the System administrator.