X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-crypt%2Fpgp.c;h=b69bc9b270f5e3ff60b1cd166922a6bd8672b928;hb=201fd8633cc86ccda413c919ae6e2ae04e89b4a9;hp=1c9e4bcb2b84492f25e9ffffc75974b410d492fb;hpb=ecfcc6df70230ba136c2fb3843700ecb749c41b7;p=apps%2Fmadmutt.git diff --git a/lib-crypt/pgp.c b/lib-crypt/pgp.c index 1c9e4bc..b69bc9b 100644 --- a/lib-crypt/pgp.c +++ b/lib-crypt/pgp.c @@ -31,6 +31,7 @@ #include #include +#include #include "mutt.h" #include "handler.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; }