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:59 +0000 (18:29 +0200)
commitc5c8fb1ec7c8690495de6189ec2c3a322db4e881
tree10db56dbb6381aadbbcae3495cdff7834bb2d718
parent8c0e1fac960f6e6bbc1bd09c3c788192e838e16a
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>
(cherry picked from commit 7ffc1ac7dd95d4cc1897a4c36d5cd628741c12f2)
agent/gpg-agent.c