X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=send.c;h=e40d3daf0edc0a2ed5707e6fc07106fe8cb4b403;hp=0d25bc10d670b56c7eafeed3509765ee55a9dd4d;hb=aac3f035c98d7800fde3eef7a43ded322e4862db;hpb=1951199b744b2104bf7fe60effe5dd0f455aee9c diff --git a/send.c b/send.c index 0d25bc1..e40d3da 100644 --- a/send.c +++ b/send.c @@ -1360,7 +1360,7 @@ int ci_send_message (int flags, /* send mode */ * for the decision. */ if (!(msg->security & (APPLICATION_SMIME | APPLICATION_PGP))) { - if (mod_crypt.autosmime && option(OPTSMIMEISDEFAULT)) + if (mod_crypt.autosmime && mod_crypt.smime_is_default) msg->security |= APPLICATION_SMIME; else if (mod_crypt.autopgp) msg->security |= APPLICATION_PGP;