From 8d0d7180fa5c7862e74027b497adab1f427f0020 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Wed, 28 Nov 2007 15:21:15 +0100 Subject: [PATCH] Useless message with gpgme Signed-off-by: Pierre Habouzit --- commands.c | 4 ---- crypt.cpkg | 10 ---------- crypt.h | 4 ---- 3 files changed, 18 deletions(-) diff --git a/commands.c b/commands.c index 239c7ea..beaac30 100644 --- a/commands.c +++ b/commands.c @@ -91,10 +91,6 @@ int mutt_display_message (HEADER * cur) } } - if (cmflags & M_CM_VERIFY || cur->security & ENCRYPT) { - crypt_invoke_message(cur->security); - } - res = _mutt_copy_message (fpout, msg->fp, cur, cur->content, cmflags, (option (OPTWEED) ? (CH_WEED | CH_REORDER) : 0) | CH_DECODE | CH_FROM); diff --git a/crypt.cpkg b/crypt.cpkg index 8fde1ab..67b37c2 100644 --- a/crypt.cpkg +++ b/crypt.cpkg @@ -3704,16 +3704,6 @@ void crypt_pgp_extract_keys_from_attachment_list(FILE * fp, int tag, BODY * top) } } -void crypt_invoke_message (int type) -{ - if (type & APPLICATION_PGP) { - mutt_message _("Invoking PGP..."); - } - else if (type & APPLICATION_SMIME) { - mutt_message _("Invoking S/MIME..."); - } -} - int mutt_protect (HEADER * msg, char *keylist) { BODY *pbody = NULL, *tmp_pbody = NULL; diff --git a/crypt.h b/crypt.h index 244d90c..0251623 100644 --- a/crypt.h +++ b/crypt.h @@ -78,10 +78,6 @@ void crypt_extract_keys_from_messages (HEADER * h); Return the list of keys in KEYLIST. */ int crypt_get_keys (HEADER * msg, char **keylist); - -/* Show a message that a backend will be invoked. */ -void crypt_invoke_message (int type); - /* Decrypt a PGP/MIME message. */ int crypt_pgp_decrypt_mime (FILE * a, FILE ** b, BODY * c, BODY ** d); -- 2.20.1