Opened/Closed encrypted pgp messages unencrypted with read as plain
* src/oemhelp.h: declare oom_toggle_selection function
* src/oemhelp.cpp: implement oom_toggle_selection function
* src/mail.h; Add new flag m_BodyVerifyFailed
* src/mail.cpp: Add check to decryptVerfivy_o that the put Body can
be read back otherwise set the new flag.
In parsingDone_o deselect the Mail if the new
flag is set
In close only allow PassWrite if the new flag is
not set
* src/windowmessages.h: add new event SELECT_MAIL
* src/windowmessages.cpp: Add commented out handling for the new eventPrevent plaintext leak by not allowing the write to pass based unless
that getting the Body after putting the placeholder into
the Body did return a non empty string.
We also deselect the mail if the check fails.
- GnuPG-Bug-Id: T7858