Home GnuPG
Diffusion GnuPG c5c8fb1ec7c8

agent: Add DBUS_SESSION_BUS_ADDRESS et al. to the startup list.

Description

agent: Add DBUS_SESSION_BUS_ADDRESS et al. to the startup list.

* agent/gpg-agent.c (agent_copy_startup_env): Replace explicit list
with the standard list.

Although the function agent_copy_startup_env is newer than
session_env_list_stdenvnames the latter was not used. When
DBUS_SESSION_BUS_ADDRESS was added to the latter it was forgotten to
add it to the former as well. Having all stdnames here seems to be
the Right Thing (tm) to do.

(cherry picked from commit 7ffc1ac7dd95d4cc1897a4c36d5cd628741c12f2)

  • GnuPG-bug-id: T3947
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 6 2018, 6:28 PM
Parents
rG8c0e1fac960f: doc: Typo fixes
Branches
Unknown
Tags
Unknown
Tasks
T3947: pinentry-gnome3 requires DBUS_SESSION_BUS_ADDRESS to be updated