[Commits] [SCM] claws branch, master, updated. 3.10.1-98-gfe89b3a

claws at claws-mail.org claws at claws-mail.org
Tue Jun 24 12:39:13 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  fe89b3a7fbcefc21dcf195929c948bd8be603788 (commit)
      from  b0a0fd75fb84a8bfffebc945faa241b06feb91bf (commit)

Summary of changes:
 src/plugins/pgpcore/sgpgme.c |   14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)


- Log -----------------------------------------------------------------
commit fe89b3a7fbcefc21dcf195929c948bd8be603788
Author: Paul <paul at claws-mail.org>
Date:   Tue Jun 24 11:39:04 2014 +0100

    fix erroneous 'untrusted' msg based on validity not trust

diff --git a/src/plugins/pgpcore/sgpgme.c b/src/plugins/pgpcore/sgpgme.c
index 51c821d..b95ad7a 100644
--- a/src/plugins/pgpcore/sgpgme.c
+++ b/src/plugins/pgpcore/sgpgme.c
@@ -209,19 +209,7 @@ gchar *sgpgme_sigstat_info_short(gpgme_ctx_t ctx, gpgme_verify_result_t status)
 		uname = g_strdup("<?>");
 	switch (gpg_err_code(sig->status)) {
 	case GPG_ERR_NO_ERROR:
-		switch (gpg_err_code(sig->validity)) {
-		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:
-		default:
-			result = g_strdup_printf(_("Good signature (untrusted) from %s."), uname);
-			break;
-		}
+		result = g_strdup_printf(_("Good signature from %s."), uname);
 		break;
 	case GPG_ERR_SIG_EXPIRED:
 		result = g_strdup_printf(_("Expired signature from %s."), uname);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list