Rocco Rutte:
[apps/madmutt.git] / pgp.c
diff --git a/pgp.c b/pgp.c
index fccf7a9..f584031 100644 (file)
--- a/pgp.c
+++ b/pgp.c
@@ -82,8 +82,8 @@ int pgp_valid_passphrase (void)
 
   pgp_void_passphrase ();
 
 
   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);
   }
     PgpExptime = time (NULL) + PgpTimeout;
     return (1);
   }