X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=crypt.c;h=d60e1849f09bc8bb0181432cb8859a44a695deca;hb=bbc4fd52516a8afefbd14c77e34f8389d6f0a6ed;hp=2f20bc1fa9c09f6f00fc310b80eeaeee2e9555da;hpb=a8477ebaa09990b3688164cbe5cf661c4189541d;p=apps%2Fmadmutt.git diff --git a/crypt.c b/crypt.c index 2f20bc1..d60e184 100644 --- a/crypt.c +++ b/crypt.c @@ -17,6 +17,8 @@ #endif #include "mutt.h" +#include "ascii.h" +#include "handler.h" #include "mutt_curses.h" #include "mime.h" #include "copy.h" @@ -705,7 +707,7 @@ static void crypt_fetch_signatures (BODY *** signatures, BODY * a, int *n) crypt_fetch_signatures (signatures, a->parts, n); else { if ((*n % 5) == 0) - safe_realloc (signatures, (*n + 6) * sizeof (BODY **)); + mem_realloc (signatures, (*n + 6) * sizeof (BODY **)); (*signatures)[(*n)++] = a; } @@ -825,7 +827,7 @@ void mutt_signed_handler (BODY * a, STATE * s) state_attach_puts (_("[-- The following data is signed --]\n\n"), s); - FREE (&signatures); + mem_free (&signatures); } else state_attach_puts (_("[-- Warning: Can't find any signatures. --]\n\n"),