agent: Add DBUS_SESSION_BUS_ADDRESS et al. to the startup list.
authorWerner Koch <wk@gnupg.org>
Wed, 6 Jun 2018 16:28:44 +0000 (18:28 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 6 Jun 2018 16:29:15 +0000 (18:29 +0200)
commit7ffc1ac7dd95d4cc1897a4c36d5cd628741c12f2
tree6a0c8fe4356dce78c8947c295ef908c54c819b3d
parent70f26e4263364f4b521c7856c38ba7ee59e38445
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.

GnuPG-bug-id: 3947
Signed-off-by: Werner Koch <wk@gnupg.org>
agent/gpg-agent.c