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>
Tue, 4 Sep 2018 11:47:04 +0000 (13:47 +0200)
commita507d8bdfb9e31814abf21ad5a9915abd66c96c1
treeeabe469b90d60dc5cf64233677d4b39c1f173338
parent164d89131534bf28ceb0f554bf50d1672445d33f
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
src/mail.cpp