X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-crypt%2Fpgp.c;h=b69bc9b270f5e3ff60b1cd166922a6bd8672b928;hb=201fd8633cc86ccda413c919ae6e2ae04e89b4a9;hp=7982dca5fe9171d09e38588ff5b232e1e5c8266c;hpb=dbb9a1e16d03a2d4664d6dc6a30c721b889d4982;p=apps%2Fmadmutt.git diff --git a/lib-crypt/pgp.c b/lib-crypt/pgp.c index 7982dca..b69bc9b 100644 --- a/lib-crypt/pgp.c +++ b/lib-crypt/pgp.c @@ -30,9 +30,10 @@ #include #include +#include +#include #include "mutt.h" -#include "enter.h" #include "handler.h" #include "pgp.h" #include "copy.h" @@ -61,7 +62,6 @@ #endif #include "crypt.h" -#include "mutt_menu.h" char PgpPass[LONG_STRING]; @@ -69,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; }