else if((hdr->content->type == TYPEAPPLICATION) && mutt_is_pgp_subtype(hdr->content->subtype))
else if(mutt_is_application_pgp(hdr->content) & PGPENCRYPT)
BODY *mutt_make_message_attach (CONTEXT *ctx, HEADER *hdr, int attach_msg){  char buffer[LONG_STRING];  BODY *body;  FILE *fp;  int cmflags, chflags;  int pgp = hdr->pgp;  #ifdef _PGPPATH  if ((option(OPTMIMEFORWDECODE) || option(OPTFORWDECRYPT)) &&      (hdr->pgp & PGPENCRYPT) && !pgp_valid_passphrase())    return (NULL);#endif /* _PGPPATH */  mutt_mktemp (buffer);  if ((fp = safe_fopen (buffer, "w+")) == NULL)    return NULL;  body = mutt_new_body ();  body->type = TYPEMESSAGE;  body->subtype = safe_strdup ("rfc822");  body->filename = safe_strdup (buffer);  body->unlink = 1;  body->use_disp = 0;  mutt_parse_mime_message (ctx, hdr);  chflags = CH_XMIT;  cmflags = 0;  if (!attach_msg && option (OPTMIMEFORWDECODE))  {    chflags |= CH_MIME | CH_TXTPLAIN;    cmflags = M_CM_DECODE;    pgp &= ~PGPENCRYPT;  }  else#ifdef _PGPPATH    if(option(OPTFORWDECRYPT)       && (hdr->pgp & PGPENCRYPT))  {    if(hdr->content->type == TYPEMULTIPART)    {      chflags |= CH_MIME | CH_NONEWLINE;      cmflags = M_CM_DECODE_PGP;      pgp &= ~PGPENCRYPT;    }    else if((hdr->content->type == TYPEAPPLICATION) &&	    mutt_is_pgp_subtype(hdr->content->subtype))    {      chflags |= CH_MIME | CH_TXTPLAIN;      cmflags = M_CM_DECODE;      pgp &= ~PGPENCRYPT;    }  }#endif  /* If we are attaching a message, ignore OPTMIMEFORWDECODE */  mutt_copy_message (fp, ctx, hdr, cmflags, chflags);    fflush(fp);  rewind(fp);  body->hdr = mutt_new_header();  body->hdr->offset = 0;  body->hdr->env = mutt_read_rfc822_header(fp, body->hdr);#ifdef _PGPPATH  body->hdr->pgp = pgp;#endif /* _PGPPATH */  mutt_update_encoding (body);  body->parts = body->hdr->content;  fclose(fp);    return (body);}