mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
jnlib/
2007-06-18 Marcus Brinkmann <marcus@g10code.de> * stringhelp.h (percent_escape): New prototype. * stringhelp.c (percent_escape): New function. agent/ 2007-06-18 Marcus Brinkmann <marcus@g10code.de> * gpg-agent.c (main): Percent escape pathname in --gpgconf-list output. g10/ 2007-06-18 Marcus Brinkmann <marcus@g10code.de> * gpg.c (gpgconf_list): Percent escape output of --gpgconf-list. scdaemon/ 2007-06-18 Marcus Brinkmann <marcus@g10code.de> * scdaemon.c (main): Percent escape output of --gpgconf-list. sm/ 2007-06-18 Marcus Brinkmann <marcus@g10code.de> * gpgsm.c (main): Percent escape output of --gpgconf-list.
This commit is contained in:
parent
b1b471dcc8
commit
e47321829d
11 changed files with 89 additions and 14 deletions
|
@ -1,3 +1,7 @@
|
|||
2007-06-18 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* gpg.c (gpgconf_list): Percent escape output of --gpgconf-list.
|
||||
|
||||
2007-06-14 Werner Koch <wk@g10code.com>
|
||||
|
||||
* call-agent.c (start_agent): Use gnupg_module_name.
|
||||
|
|
|
@ -1456,16 +1456,20 @@ list_config(char *items)
|
|||
static void
|
||||
gpgconf_list (const char *configfile)
|
||||
{
|
||||
char *configfile_esc = percent_escape (configfile);
|
||||
|
||||
/* 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?configfile:"/dev/null");
|
||||
GC_OPT_FLAG_DEFAULT, configfile_esc ? configfile_esc : "/dev/null");
|
||||
printf ("verbose:%lu:\n", GC_OPT_FLAG_NONE);
|
||||
printf ("quiet:%lu:\n", GC_OPT_FLAG_NONE);
|
||||
printf ("keyserver:%lu:\n", GC_OPT_FLAG_NONE);
|
||||
printf ("reader-port:%lu:\n", GC_OPT_FLAG_NONE);
|
||||
|
||||
xfree (configfile_esc);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue