aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-08-02 18:12:43 +0000
committerWerner Koch <[email protected]>2007-08-02 18:12:43 +0000
commitebd36b634450ce9fdf0104052cca2b035ad3a22d (patch)
tree1708507fee17d3520460bd94636800d4b828c8ed /g10/gpg.c
parentApplied exact length hack. (diff)
downloadgnupg-ebd36b634450ce9fdf0104052cca2b035ad3a22d.tar.gz
gnupg-ebd36b634450ce9fdf0104052cca2b035ad3a22d.zip
Factored common gpgconf constants out
Fixed W32 compare_filenames
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index a0fc17694..bda2257ee 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -55,7 +55,7 @@
#include "status.h"
#include "keyserver-internal.h"
#include "exec.h"
-
+#include "gc-opt-flags.h"
#if defined(HAVE_DOSISH_SYSTEM) || defined(__CYGWIN__)
#define MY_O_BINARY O_BINARY
@@ -1457,10 +1457,6 @@ gpgconf_list (const char *configfile)
{
char *configfile_esc = percent_escape (configfile, NULL);
- /* The following definitions are taken from gnupg/tools/gpgconf-comp.c. */
-#define GC_OPT_FLAG_NONE 0UL
-#define GC_OPT_FLAG_DEFAULT (1UL << 4)
-
printf ("gpgconf-gpg.conf:%lu:\"%s\n",
GC_OPT_FLAG_DEFAULT, configfile_esc ? configfile_esc : "/dev/null");
printf ("verbose:%lu:\n", GC_OPT_FLAG_NONE);