dirmngr: Avoid testing for Tor with --gpgconf-list.
authorWerner Koch <wk@gnupg.org>
Mon, 11 Mar 2019 17:15:05 +0000 (18:15 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 11 Mar 2019 17:15:05 +0000 (18:15 +0100)
commit9f37e93dd741a5436ff412955628806ae84725ca
tree9442610c214ffa7858c5299f9be502c6865c2dfd
parentb7de105e0a836bd4d7bd558f8e699d88ab0cafec
dirmngr: Avoid testing for Tor with --gpgconf-list.

* dirmngr/dirmngr.c (post_option_parsing): Do not call set_tor_mode.
(dirmngr_sighup_action): Call it here.
(main): Call it here unless in --gpgconf-list mode.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/dirmngr.c