X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pgp.c;h=f5840315f93d92d51a52bd4138caa5d3bce5b683;hp=fccf7a9c3bd6feab6651bd99423d13231c5ba6e3;hb=e01486aabea6f0af36933158bd58b9ab03b30add;hpb=7480539010bab6905c944b11b036492a1a625994 diff --git a/pgp.c b/pgp.c index fccf7a9..f584031 100644 --- a/pgp.c +++ b/pgp.c @@ -82,8 +82,8 @@ int pgp_valid_passphrase (void) pgp_void_passphrase (); - if (mutt_get_password - (_("Enter PGP passphrase:"), PgpPass, sizeof (PgpPass)) == 0) { + if (mutt_get_field_unbuffered (_("Enter PGP passphrase:"), PgpPass, + sizeof (PgpPass), M_PASS) == 0) { PgpExptime = time (NULL) + PgpTimeout; return (1); }