X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-crypt%2Fpgppacket.c;h=d00315480ff7282babe130bc1c52c7c5e79a3300;hb=c8e3d1cce2a8af0b4725e1a751f8795bf04487da;hp=39ebdf25b2539d95a52cbb93bdd8dadf6b998ea9;hpb=4761fa78a6dfc9437caa6e6e0aac806e50e01c83;p=apps%2Fmadmutt.git diff --git a/lib-crypt/pgppacket.c b/lib-crypt/pgppacket.c index 39ebdf2..d003154 100644 --- a/lib-crypt/pgppacket.c +++ b/lib-crypt/pgppacket.c @@ -7,17 +7,7 @@ * please see the file GPL in the top level source directory. */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include -#include -#include - -#include +#include #include #include "lib.h" @@ -65,7 +55,7 @@ unsigned char *pgp_read_packet (FILE * fp, size_t * len) startpos = ftello (fp); if (!plen) { - pbuf = p_new(char, plen = CHUNKSIZE); + pbuf = p_new(unsigned char, plen = CHUNKSIZE); } if (fread (&ctb, 1, 1, fp) < 1) {