summaryrefslogtreecommitdiffstats
path: root/tools/gpgconf-comp.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-10-02 12:26:02 +0200
committerWerner Koch <wk@gnupg.org>2020-10-02 12:29:20 +0200
commit357ad9ae29677c1676b56d2b81282e2f78ec8040 (patch)
tree74acc1e49fe6d1f9c974be405789707ebb9edb3d /tools/gpgconf-comp.c
parentw32: Silence warning due to recent change of split_fields. (diff)
downloadgnupg2-357ad9ae29677c1676b56d2b81282e2f78ec8040.tar.xz
gnupg2-357ad9ae29677c1676b56d2b81282e2f78ec8040.zip
gpgconf: New option --show-versions.
* tools/gpgconf.c: Include exechelp.h. New option --show-versions. (get_revision_from_blurb): New. (show_version_gnupg): New. (show_version_libgcrypt): New. (show_version_gpgrt): New. (show_versions_via_dirmngr): New. (show_versions): New. * tools/gpgconf-comp.c (GPGNAME): Remove unused macro. * dirmngr/dirmngr.c (main): New internal option --gpgconf-versions. (get_revision_from_blurb): New. (gpgconf_versions): New. -- This option should be helpful to gather information for debugging. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tools/gpgconf-comp.c')
-rw-r--r--tools/gpgconf-comp.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index 3583abe57..919bcb357 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -52,14 +52,6 @@
#include "../common/gc-opt-flags.h"
#include "gpgconf.h"
-/* There is a problem with gpg 1.4 under Windows: --gpgconf-list
- returns a plain filename without escaping. As long as we have not
- fixed that we need to use gpg2. */
-#if defined(HAVE_W32_SYSTEM) && !defined(HAVE_W32CE_SYSTEM)
-#define GPGNAME "gpg2"
-#else
-#define GPGNAME GPG_NAME
-#endif