summaryrefslogtreecommitdiffstats
path: root/pgp.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2017-04-18 12:25:53 -0700
committerKevin McCarthy <kevin@8t8.us>2017-04-18 12:25:53 -0700
commit6299ce89957eb75e33d754e8210f3856c182a629 (patch)
tree1071fd36f9daad54e611f2c970ac3a4e0d734195 /pgp.c
parentce5bfd538fc6186cb5bd4ea7982dedbd464798b5 (diff)
parent5bd9444eba9bb251a3d025aad2be03089084f916 (diff)
merge stable
Diffstat (limited to 'pgp.c')
-rw-r--r--pgp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pgp.c b/pgp.c
index a531c1f2..653905f0 100644
--- a/pgp.c
+++ b/pgp.c
@@ -114,7 +114,10 @@ int pgp_use_gpg_agent (void)
return 0;
if ((tty = ttyname(0)))
+ {
setenv("GPG_TTY", tty, 0);
+ mutt_envlist_set ("GPG_TTY", tty, 0);
+ }
return 1;
}