summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-03-23 14:48:46 +0100
committerWerner Koch <wk@gnupg.org>2004-03-23 14:48:46 +0100
commit333d1a107c587892d9e7583e6f2b97f82dc479ee (patch)
tree6a57bcbc65fd0e677388948ec8117b401e686c6e
parentadd missing comma (diff)
downloadgnupg2-333d1a107c587892d9e7583e6f2b97f82dc479ee.tar.xz
gnupg2-333d1a107c587892d9e7583e6f2b97f82dc479ee.zip
Make it work
-rw-r--r--g10/g10.c1
-rw-r--r--tools/gpgconf-comp.c15
2 files changed, 12 insertions, 4 deletions
diff --git a/g10/g10.c b/g10/g10.c
index 968163cce..2fbc7e625 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -2965,6 +2965,7 @@ main( int argc, char **argv )
GC_OPT_FLAG_NONE,
GC_OPT_FLAG_DEFAULT,
GC_OPT_FLAG_NONE );
+ printf ("keyserver:%lu:\n", GC_OPT_FLAG_NONE);
}
break;
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index e449d48f2..fa96a42b7 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -583,6 +583,13 @@ static gc_option_t gc_options_gpg[] =
/* NULL, NULL, */
/* GC_ARG_TYPE_UINT32, GC_BACKEND_GPG }, */
+ { "Keyserver",
+ GC_OPT_FLAG_GROUP, GC_LEVEL_BASIC,
+ NULL, "Configuration for Keyservers" },
+ { "keyserver", GC_OPT_FLAG_NONE, GC_LEVEL_BASIC,
+ "gnupg", "|URL|use keyserver at URL",
+ GC_ARG_TYPE_STRING, GC_BACKEND_GPG },
+
GC_OPTION_NULL
};
@@ -764,15 +771,15 @@ static gc_option_t gc_options_dirmngr[] =
update GC_COMPONENT below. */
typedef enum
{
+ /* The classic GPG for OpenPGP. */
+ GC_COMPONENT_GPG,
+
/* The GPG Agent. */
GC_COMPONENT_GPG_AGENT,
/* The Smardcard Daemon. */
GC_COMPONENT_SCDAEMON,
- /* The classic GPG for OpenPGP. */
- GC_COMPONENT_GPG,
-
/* GPG for S/MIME. */
GC_COMPONENT_GPGSM,
@@ -803,9 +810,9 @@ static struct
gc_option_t *options;
} gc_component[] =
{
+ { "gpg", NULL, "GPG for OpenPGP", gc_options_gpg },
{ "gpg-agent", NULL, "GPG Agent", gc_options_gpg_agent },
{ "scdaemon", NULL, "Smartcard Daemon", gc_options_scdaemon },
- { "gpg", NULL, "GPG for OpenPGP", gc_options_gpg },
{ "gpgsm", NULL, "GPG for S/MIME", gc_options_gpgsm },
{ "dirmngr", NULL, "CRL Manager", gc_options_dirmngr }
};