X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-crypt%2Fpgpmicalg.c;h=c070173227d19550bfd471f1ef1ab49787ad4a44;hb=d776c6c67b63e05bd052fcedf77e9147560e83af;hp=8fe6a5edb41a329deeea08e7944453ecf56e12db;hpb=23e6291cb5d5b4cd2008403d8b628007fd75ff23;p=apps%2Fmadmutt.git diff --git a/lib-crypt/pgpmicalg.c b/lib-crypt/pgpmicalg.c index 8fe6a5e..c070173 100644 --- a/lib-crypt/pgpmicalg.c +++ b/lib-crypt/pgpmicalg.c @@ -11,9 +11,7 @@ * algorithm. */ -#if HAVE_CONFIG_H -# include "config.h" -#endif +#include #include "mutt.h" #include "handler.h" @@ -21,12 +19,7 @@ #include "pgppacket.h" #include "charset.h" -#include -#include -#include -#include - -#include +#include #include @@ -112,7 +105,7 @@ static void pgp_dearmor (FILE * in, FILE * out) return; } - mutt_decode_base64 (&state, end - start, 0, (iconv_t) - 1); + mutt_decode_base64 (&state, end - start, 0, MUTT_ICONV_ERROR); } static short pgp_mic_from_packet (unsigned char *p, size_t len)