X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=postpone.c;h=4e0f8692ab881f24d60dc3f5a45a995a1a1259a3;hp=1145bf63f977c44f60e8c6f593c4075a02def629;hb=91acd32003fb8eb9b3b05b35c1aa32a6c07aad43;hpb=ddc565e15e8d7e2eaeea568dd6602dc0347474c5 diff --git a/postpone.c b/postpone.c index 1145bf6..4e0f869 100644 --- a/postpone.c +++ b/postpone.c @@ -633,7 +633,7 @@ int mutt_prepare_template (FILE * fp, CONTEXT * ctx, HEADER * newhdr, /* Theoretically, both could be set. Take the one the user wants to set by default. */ if ((newhdr->security & APPLICATION_PGP) && (newhdr->security & APPLICATION_SMIME)) { - if (option (OPTSMIMEISDEFAULT)) + if (mod_crypt.smime_is_default) newhdr->security &= ~APPLICATION_PGP; else newhdr->security &= ~APPLICATION_SMIME;