X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-crypt%2Fpgp.c;h=b69bc9b270f5e3ff60b1cd166922a6bd8672b928;hb=201fd8633cc86ccda413c919ae6e2ae04e89b4a9;hp=26f79d9dfbf3e140bf568b907069b4a57ac15bb5;hpb=4761fa78a6dfc9437caa6e6e0aac806e50e01c83;p=apps%2Fmadmutt.git diff --git a/lib-crypt/pgp.c b/lib-crypt/pgp.c index 26f79d9..b69bc9b 100644 --- a/lib-crypt/pgp.c +++ b/lib-crypt/pgp.c @@ -29,10 +29,12 @@ #include +#include +#include +#include + #include "mutt.h" -#include "enter.h" #include "handler.h" -#include "mutt_curses.h" #include "pgp.h" #include "copy.h" #include "attach.h" @@ -60,7 +62,6 @@ #endif #include "crypt.h" -#include "mutt_menu.h" char PgpPass[LONG_STRING]; @@ -68,7 +69,7 @@ time_t PgpExptime = 0; /* when does the cached passphrase expire? */ void pgp_void_passphrase (void) { - p_clear(PgpPass, sizeof(PgpPass)); + p_clear(PgpPass, countof(PgpPass)); PgpExptime = 0; }