From 934c398b10a879c8f5857cca54ee7b0e0af570c6 Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Mon, 30 Aug 2004 20:10:10 +0000 Subject: [PATCH] Only print additional information related to PGP in case the current message is indeed to be encrypted/signed with PGP. --- compose.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compose.c b/compose.c index 765999c2a..861641bf1 100644 --- a/compose.c +++ b/compose.c @@ -134,7 +134,8 @@ static void redraw_crypt_lines (HEADER *msg) addstr (_("Clear")); if ((WithCrypto & APPLICATION_PGP)) - if ((msg->security & (ENCRYPT | SIGN))) + if ((msg->security & APPLICATION_PGP) + && (msg->security & (ENCRYPT | SIGN))) { if ((msg->security & INLINE)) addstr (_(" (inline)")); -- 2.40.0