summaryrefslogtreecommitdiffstats
path: root/mutt.h
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2019-07-26 13:55:46 -0700
committerKevin McCarthy <kevin@8t8.us>2019-08-03 14:08:09 -0700
commit2aec979b267efb2f82b5cb5f433948d3395932b8 (patch)
tree4826213f76f8ef2a63bea1d3cea14381f9ce8795 /mutt.h
parentd0a56a1499d8fb376457334cbf85e3db9b7686aa (diff)
Handle autocrypt message decryption.
Try autocrypt first for crypt_pgp_decrypt_mime() and pgp_gpgme_encrypted_handler(). Propagate the autocrypt bit if successful. This is used when replying to an autocrypt message, to force a reply using autocrypt.
Diffstat (limited to 'mutt.h')
-rw-r--r--mutt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mutt.h b/mutt.h
index ba0df11e..9d02a1d2 100644
--- a/mutt.h
+++ b/mutt.h
@@ -812,6 +812,10 @@ typedef struct body
unsigned int goodsig : 1; /* good cryptographic signature */
unsigned int warnsig : 1; /* maybe good signature */
unsigned int badsig : 1; /* bad cryptographic signature (needed to check encrypted s/mime-signatures) */
+#ifdef USE_AUTOCRYPT
+ unsigned int is_autocrypt : 1; /* used to flag autocrypt-decrypted messages
+ * for replying */
+#endif
unsigned int collapsed : 1; /* used by recvattach */
unsigned int attach_qualifies : 1;