1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-31 22:18:03 +02:00

* import.c (parse_import_options), export.c (parse_export_options): Fix

offset problem with reversed ("no-") meanings.
This commit is contained in:
David Shaw 2002-07-24 03:37:55 +00:00
parent eb5c0265e1
commit 72a3fd4868
3 changed files with 12 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2002-07-23 David Shaw <dshaw@jabberwocky.com>
* import.c (parse_import_options), export.c
(parse_export_options): Fix offset problem with reversed ("no-")
meanings.
* import.c (delete_inv_parts): Discard subkey signatures (0x18 and
0x28) if found in the userid section of the key.

View File

@ -62,7 +62,10 @@ parse_export_options(char *str,unsigned int *options)
int i,rev=0;
if(ascii_memcasecmp("no-",tok,3)==0)
rev=1;
{
rev=1;
tok+=3;
}
for(i=0;export_opts[i].name;i++)
{

View File

@ -101,7 +101,10 @@ parse_import_options(char *str,unsigned int *options)
int i,rev=0;
if(ascii_memcasecmp("no-",tok,3)==0)
rev=1;
{
rev=1;
tok+=3;
}
for(i=0;import_opts[i].name;i++)
{