X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-crypt%2Fpgp.c;h=e90943d8abf6c1c794a3eae9c6853d9a07fc8268;hb=fd25c07c1e9e19606b1b6d5533df1f6239455036;hp=7982dca5fe9171d09e38588ff5b232e1e5c8266c;hpb=dbb9a1e16d03a2d4664d6dc6a30c721b889d4982;p=apps%2Fmadmutt.git diff --git a/lib-crypt/pgp.c b/lib-crypt/pgp.c index 7982dca..e90943d 100644 --- a/lib-crypt/pgp.c +++ b/lib-crypt/pgp.c @@ -30,15 +30,16 @@ #include #include +#include +#include +#include #include "mutt.h" -#include "enter.h" #include "handler.h" #include "pgp.h" #include "copy.h" #include "attach.h" -#include "lib/debug.h" #include #include @@ -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; }