]> granicus.if.org Git - neomutt/commitdiff
remove used member
authorRichard Russon <rich@flatcap.org>
Sat, 12 Oct 2019 18:15:57 +0000 (19:15 +0100)
committerRichard Russon <rich@flatcap.org>
Sat, 12 Oct 2019 18:15:58 +0000 (19:15 +0100)
Body->is_signed_data was introduced 15 years ago and never used.

email/body.h
ncrypt/crypt_gpgme.c

index 99500ac6e7cd9185e620219895b3fc96bd23c54f..cef8490f11358404d90b7075f78a3d4f5c53031d 100644 (file)
@@ -72,12 +72,6 @@ struct Body
 
   bool noconv : 1;                ///< Don't do character set conversion
   bool force_charset : 1;         ///< Send mode: don't adjust the character set when in send-mode.
-  bool is_signed_data : 1;        ///< A lot of MUAs don't indicate S/MIME signed-data correctly,
-                                  ///< e.g. they use foo.p7m even for the name of signed data.
-                                  ///< This flag is used to keep track of the actual message type.
-                                  ///< It gets set during the verification (which is done if the encryption try failed)
-                                  ///< and check by the function to figure the type of the message.
-
   bool goodsig : 1;               ///< Good cryptographic signature
   bool warnsig : 1;               ///< Maybe good signature
   bool badsig : 1;                ///< Bad cryptographic signature (needed to check encrypted s/mime-signatures)
index fcf0ad483f0564329c8fd4e31abbfe09d98ca219..0337be22bd2943bf4ac5e3078d49589186435abd 100644 (file)
@@ -2288,14 +2288,11 @@ restart:
   gpgme_data_release(plaintext);
   plaintext = NULL;
 
-  a->is_signed_data = false;
   if (sig_stat)
   {
     int res, idx;
     int anybad = 0;
 
-    if (maybe_signed)
-      a->is_signed_data = true;
     if (r_is_signed)
       *r_is_signed = -1; /* A signature exists. */