Fix Mail::needs_crypto_m
authorAndre Heinecke <aheinecke@intevation.de>
Tue, 4 Sep 2018 11:47:04 +0000 (13:47 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Thu, 6 Sep 2018 10:00:02 +0000 (12:00 +0200)
commitaec234ee13ba6d4fd4f8c3f54e4cf6d0984bac72
tree8b7f6ee670209a6a4a0752d5b69b46dd331bdbef
parenta28610cb5f5b8d748a679d909f50ca66e72223e4
Fix Mail::needs_crypto_m

* src/mail.cpp (Mail::needs_crypto_m): Fix function.

--
It would always return 1 if any crypto was required. This
had a side effect like:

GnuPG-Bug-Id: T4126
(cherry picked from commit a507d8bdfb9e31814abf21ad5a9915abd66c96c1)
src/mail.cpp