[Commits] sgpgme.c 1.1.2.70 1.1.2.71

ticho at claws-mail.org ticho at claws-mail.org
Sun Jul 8 14:48:49 CEST 2012


Update of /home/claws-mail/claws/src/plugins/pgpcore
In directory srv:/tmp/cvs-serv6604/src/plugins/pgpcore

Modified Files:
      Tag: gtk2
	sgpgme.c 
Log Message:
2012-07-08 [ticho]	3.8.1cvs11

	* src/plugins/pgpcore/sgpgme.c
		Consider marginal signature validity as untrusted. Suggested by
		Jean-Benoist Leger (leger at crans.org).

Index: sgpgme.c
===================================================================
RCS file: /home/claws-mail/claws/src/plugins/pgpcore/Attic/sgpgme.c,v
retrieving revision 1.1.2.70
retrieving revision 1.1.2.71
diff -u -d -r1.1.2.70 -r1.1.2.71
--- sgpgme.c	7 Jul 2012 07:09:37 -0000	1.1.2.70
+++ sgpgme.c	8 Jul 2012 12:48:47 -0000	1.1.2.71
@@ -212,11 +212,11 @@
 	switch (gpg_err_code(sig->status)) {
 	case GPG_ERR_NO_ERROR:
 		switch (gpg_err_code(sig->validity)) {
-		case GPGME_VALIDITY_MARGINAL:
 		case GPGME_VALIDITY_FULL:
 		case GPGME_VALIDITY_ULTIMATE:
 			result = g_strdup_printf(_("Good signature from %s."), uname);
 			break;
+		case GPGME_VALIDITY_MARGINAL:
 		case GPGME_VALIDITY_UNKNOWN:
 		case GPGME_VALIDITY_UNDEFINED:
 		case GPGME_VALIDITY_NEVER:



More information about the Commits mailing list