diff options
author | Kevin McCarthy <kevin@8t8.us> | 2017-04-18 12:25:17 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2017-04-18 12:25:17 -0700 |
commit | 5bd9444eba9bb251a3d025aad2be03089084f916 (patch) | |
tree | 81ddaa0f718f681c22fb46bccee4a0d3f68bbe20 /pgp.c | |
parent | 5f2fc6ca42a94e36440a8d71eff05977d6ca27ec (diff) |
Fix GPG_TTY to be added to envlist. (closes #3931)
Changeset 37209157e33c converted filters to use the envlist.
Unfortunately, I missed that pgp.c sets GPG_TTY when using the GnuPG
agent. Convert to add GPG_TTY to the envlist too.
Diffstat (limited to 'pgp.c')
-rw-r--r-- | pgp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; } |