mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
.
This commit is contained in:
parent
2a9f9d76a2
commit
7b8ea82ab6
20 changed files with 172 additions and 49 deletions
|
@ -1,5 +1,7 @@
|
|||
2006-10-23 Werner Koch <wk@g10code.com>
|
||||
|
||||
* gpg-agent.c (main): New command --gpgconf-test.
|
||||
|
||||
* minip12.c (parse_bag_encrypted_data, parse_bag_data): Allow for
|
||||
a salt of 20 bytes.
|
||||
|
||||
|
|
|
@ -61,6 +61,7 @@ enum cmd_and_opt_values
|
|||
|
||||
oNoVerbose = 500,
|
||||
aGPGConfList,
|
||||
aGPGConfTest,
|
||||
oOptions,
|
||||
oDebug,
|
||||
oDebugAll,
|
||||
|
@ -105,6 +106,7 @@ enum cmd_and_opt_values
|
|||
static ARGPARSE_OPTS opts[] = {
|
||||
|
||||
{ aGPGConfList, "gpgconf-list", 256, "@" },
|
||||
{ aGPGConfTest, "gpgconf-test", 256, "@" },
|
||||
|
||||
{ 301, NULL, 0, N_("@Options:\n ") },
|
||||
|
||||
|
@ -620,6 +622,7 @@ main (int argc, char **argv )
|
|||
switch (pargs.r_opt)
|
||||
{
|
||||
case aGPGConfList: gpgconf_list = 1; break;
|
||||
case aGPGConfTest: gpgconf_list = 2; break;
|
||||
case oBatch: opt.batch=1; break;
|
||||
|
||||
case oDebugWait: debug_wait = pargs.r.ret_int; break;
|
||||
|
@ -719,6 +722,8 @@ main (int argc, char **argv )
|
|||
log_debug ("... okay\n");
|
||||
}
|
||||
|
||||
if (gpgconf_list == 2)
|
||||
agent_exit (0);
|
||||
if (gpgconf_list)
|
||||
{
|
||||
char *filename;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue