Home GnuPG
Diffusion GpgOL 7e5e8e0ebc5e

* src/mapihelp.cpp: New. * src/mapihelp.h: New. * src/message.cpp: New. Factor…
7e5e8e0ebc5eUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

(no title)

* src/mapihelp.cpp: New. * src/mapihelp.h: New. * src/message.cpp: New. Factor out code from message.cpp to mapihelp
* src/mapihelp.cpp (mapi_body_to_attachment): New
moved from message.cpp.
(mapi_mark_or_create_moss_attach): New. Combination
of moss handling from message_decrypt and message_verify.
* src/mapihelp.h: Add protoype
* src/message.cpp (pgp_body_to_attachment): Remove.

Moving the moss handling out of the decryption functions means
that we can just mark the attachments / hide them in beforeRead
and then do the actual decryption work with them later.

Details

Provenance
aheineckeAuthored on Aug 16 2016, 4:27 PM
Parents
rO5c8b946a694b: Enable c++11
Branches
Unknown
Tags
Unknown