]> granicus.if.org Git - mutt/commit
Check $pgp_autoinline and $pgp_replyinline if oppenc is set. (closes #3846)
authorKevin McCarthy <kevin@8t8.us>
Fri, 1 Jul 2016 20:33:20 +0000 (13:33 -0700)
committerKevin McCarthy <kevin@8t8.us>
Fri, 1 Jul 2016 20:33:20 +0000 (13:33 -0700)
commitde43d6902d53d17d740d57891f6e9efbdf4106f0
tree98b5357de54bbb148bc9111dee657a31c3604644
parent09cf5cbb60e8923f4899c07032f6193a5a195bb7
Check $pgp_autoinline and $pgp_replyinline if oppenc is set. (closes #3846)

The first oppenc call takes place after the initial checks of
$pgp_autoline and $pgp_replyinline, and doesn't go through the pgp
menu.

Therefore, check for $pgp_autoline and $pgp_replyinline if oppenc is
set too, to avoid oppenc enabling encryption without INLINE being set
in those cases.

a6a4d6ed0f19 previously cleaned things up so that it is safe
to set INLINE even if encryption isn't enabled.
send.c