[svn] GPGol - r153 - trunk/src
svn author twoaday
cvs at cvs.gnupg.org
Mon May 22 19:47:58 CEST 2006
Author: twoaday
Date: 2006-05-22 19:47:58 +0200 (Mon, 22 May 2006)
New Revision: 153
Modified:
trunk/src/ChangeLog
trunk/src/verify-dialog.c
Log:
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2006-04-25 16:19:18 UTC (rev 152)
+++ trunk/src/ChangeLog 2006-05-22 17:47:58 UTC (rev 153)
@@ -1,3 +1,8 @@
+2006-05-22 Timo Schulz <ts at g10code.com>
+
+ * verify-dialog.c (load_sigbox): A sigsum of 0 also indicates
+ a valid (good) signature.
+
2006-04-25 Werner Koch <wk at g10code.com>
* xmalloc.h: New. Moved prototypes from util.h
Modified: trunk/src/verify-dialog.c
===================================================================
--- trunk/src/verify-dialog.c 2006-04-25 16:19:18 UTC (rev 152)
+++ trunk/src/verify-dialog.c 2006-05-22 17:47:58 UTC (rev 153)
@@ -121,10 +121,10 @@
}
stat = ctx->signatures->summary;
- if (stat & GPGME_SIGSUM_GREEN)
+ if (stat & GPGME_SIGSUM_RED)
+ s = _("BAD signature!");
+ else if (!stat || (stat & GPGME_SIGSUM_GREEN))
s = _("Good signature");
- else if (stat & GPGME_SIGSUM_RED)
- s = _("BAD signature!");
else if (stat & GPGME_SIGSUM_KEY_REVOKED)
s = _("Good signature from revoked key");
else if (stat & GPGME_SIGSUM_KEY_EXPIRED)
More information about the Gnupg-commits
mailing list