X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=crypt.c;h=1512286c09b9faac2385fcd9f556a90490654e2a;hb=9a1efcc01ddeca4106847f8eb28a704aca2dcf0b;hp=dad41c3cc44d4ec43e0e2b7094ef54ebe0622af5;hpb=8e037c67a88cb4680c4391134c578e3b55a80f8a;p=apps%2Fmadmutt.git diff --git a/crypt.c b/crypt.c index dad41c3..1512286 100644 --- a/crypt.c +++ b/crypt.c @@ -17,6 +17,7 @@ #endif #include +#include #include "mutt.h" #include "ascii.h" @@ -27,8 +28,6 @@ #include "mutt_crypt.h" #include "pgp.h" -#include "lib/mem.h" -#include "lib/intl.h" #include "lib/str.h" #include @@ -699,7 +698,7 @@ int crypt_get_keys (HEADER * msg, char **keylist) -static void crypt_fetch_signatures (BODY *** signatures, BODY * a, int *n) +static void crypt_fetch_signatures (BODY ***signatures, BODY * a, int *n) { if (!WithCrypto) return; @@ -709,7 +708,7 @@ static void crypt_fetch_signatures (BODY *** signatures, BODY * a, int *n) crypt_fetch_signatures (signatures, a->parts, n); else { if ((*n % 5) == 0) - mem_realloc (signatures, (*n + 6) * sizeof (BODY **)); + p_realloc(signatures, *n + 6); (*signatures)[(*n)++] = a; }