mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Alow batch ode for gpgsm --gen-key.
Allow CSR generation using an existing key with gpgsm.
This commit is contained in:
parent
5505a81a19
commit
1925cb37f9
10 changed files with 197 additions and 34 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-06-30 Werner Koch <wk@g10code.com>
|
||||
|
||||
* ccidmon.c (parse_line_sniffusb): Take also TAB as delimiter.
|
||||
|
||||
2009-06-29 Werner Koch <wk@g10code.com>
|
||||
|
||||
* ccidmon.c (parse_line_sniffusb): New.
|
||||
|
|
|
@ -702,13 +702,13 @@ parse_line_sniffusb (char *line, unsigned int lineno)
|
|||
if (debug)
|
||||
printf ("line[%u] =`%s'\n", lineno, line);
|
||||
|
||||
p = strtok (line, " ");
|
||||
p = strtok (line, " \t");
|
||||
if (!p)
|
||||
return;
|
||||
p = strtok (NULL, " ");
|
||||
p = strtok (NULL, " \t");
|
||||
if (!p)
|
||||
return;
|
||||
p = strtok (NULL, " ");
|
||||
p = strtok (NULL, " \t");
|
||||
if (!p)
|
||||
return;
|
||||
|
||||
|
@ -720,7 +720,7 @@ parse_line_sniffusb (char *line, unsigned int lineno)
|
|||
unsigned int value;
|
||||
|
||||
length = databuffer.count;
|
||||
while ((p=strtok (NULL, " ")))
|
||||
while ((p=strtok (NULL, " \t")))
|
||||
{
|
||||
if (!hexdigitp (p[0]) || !hexdigitp (p[1]))
|
||||
{
|
||||
|
@ -745,7 +745,7 @@ parse_line_sniffusb (char *line, unsigned int lineno)
|
|||
flush_data ();
|
||||
|
||||
*databuffer.address = 0;
|
||||
while ((p=strtok (NULL, " (,)")))
|
||||
while ((p=strtok (NULL, " \t(,)")))
|
||||
{
|
||||
if (!strcmp (p, "USBD_TRANSFER_DIRECTION_IN"))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue