X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-crypt%2Fpgp.c;h=e90943d8abf6c1c794a3eae9c6853d9a07fc8268;hb=48a027c4e8a676bc53de48f88b09d34347c23f28;hp=26f79d9dfbf3e140bf568b907069b4a57ac15bb5;hpb=4761fa78a6dfc9437caa6e6e0aac806e50e01c83;p=apps%2Fmadmutt.git diff --git a/lib-crypt/pgp.c b/lib-crypt/pgp.c index 26f79d9..e90943d 100644 --- a/lib-crypt/pgp.c +++ b/lib-crypt/pgp.c @@ -29,15 +29,17 @@ #include +#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" -#include "lib/debug.h" #include #include @@ -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; }