X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=nntp%2Fnntp.c;h=d21f30d3306897dc5b36670c1c785999b407167c;hp=11bfea0c89975c1007066595873f7c8ad9c7ce49;hb=e16543ec43d80694edd9d727ccbd36079198a82b;hpb=e272a1bd50cf1dba38067899500593aa148c88a5 diff --git a/nntp/nntp.c b/nntp/nntp.c index 11bfea0..d21f30d 100644 --- a/nntp/nntp.c +++ b/nntp/nntp.c @@ -23,13 +23,7 @@ #include "rfc2047.h" #include "nntp.h" -#ifdef HAVE_PGP -#include "pgp.h" -#endif - -#ifdef HAVE_SMIME -#include "smime.h" -#endif +#include "mutt_crypt.h" #include "lib/mem.h" #include "lib/str.h" @@ -959,9 +953,7 @@ int nntp_fetch_message (MESSAGE * msg, CONTEXT * ctx, int msgno) * full headers aren't parsed with XOVER, so the information wasn't * available then. */ -#if defined(HAVE_PGP) || defined(HAVE_SMIME) ctx->hdrs[msgno]->security = crypt_query (ctx->hdrs[msgno]->content); -#endif /* HAVE_PGP || HAVE_SMIME */ mutt_clear_error (); rewind (msg->fp);