Add option to do decryption synchronously
authorAndre Heinecke <aheinecke@intevation.de>
Mon, 8 Oct 2018 13:07:45 +0000 (15:07 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Mon, 8 Oct 2018 13:07:45 +0000 (15:07 +0200)
commit9ccdc0cdc02583ba486535a24660cb94d5c5946f
tree670ed4a9b566abb95e01b5dd14f60a5f14c89467
parent991ee4da98d431f3b5d1a59f9c9419f539931188
Add option to do decryption synchronously

* src/common_indep.h (syncDec): New option.
* src/main.c (read_options): Read it.
* src/mail.cpp (do_parsing): Do not use windowmessage signaling
for parsing done.
(Mail::decryptVerify_o): Call the parser synchronously.

--
This is very ugly but might help some users who are affected
by regular crashes when reading crypto mail.
src/common_indep.h
src/mail.cpp
src/main.c