aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme.h.in
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-05-31 23:01:08 +0000
committerWerner Koch <[email protected]>2018-05-31 23:01:08 +0000
commitdd19cabe81b7bf4177ea2ca741f6eb6cd1cab25e (patch)
treef984b33f451be62f97739132384d322e5056674b /src/gpgme.h.in
parentcore: Remove cruft from the engine-gpg code. (diff)
downloadgpgme-dd19cabe81b7bf4177ea2ca741f6eb6cd1cab25e.tar.gz
gpgme-dd19cabe81b7bf4177ea2ca741f6eb6cd1cab25e.zip
core: New decryption result flag 'legacy_cipher_nomdc'.
* src/gpgme.h.in (_gpgme_op_decrypt_result): Add flag legacy_cipher_nomdc. * src/decrypt.c (parse_status_error): Set this flag. * tests/run-decrypt.c (print_result): print it. (main): Print the result even on error. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/gpgme.h.in')
-rw-r--r--src/gpgme.h.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gpgme.h.in b/src/gpgme.h.in
index 49fafb90..5279f6a2 100644
--- a/src/gpgme.h.in
+++ b/src/gpgme.h.in
@@ -1365,8 +1365,12 @@ struct _gpgme_op_decrypt_result
/* The message claims that the content is a MIME object. */
unsigned int is_mime : 1;
+ /* The message was made by a legacy algorithm without any integrity
+ * protection. This might be an old but legitimate message. */
+ unsigned int legacy_cipher_nomdc : 1;
+
/* Internal to GPGME, do not use. */
- int _unused : 29;
+ int _unused : 28;
gpgme_recipient_t recipients;