diff options
author | David Shaw <[email protected]> | 2002-07-24 03:37:55 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2002-07-24 03:37:55 +0000 |
commit | 72a3fd4868ed18faa4921968c1d707e6cc8b8624 (patch) | |
tree | 6a7972d48b7b7e9a7a8ceca714d0af5fcb02af6f /g10/import.c | |
parent | * import.c (delete_inv_parts): Discard subkey signatures (0x18 and 0x28) (diff) | |
download | gnupg-72a3fd4868ed18faa4921968c1d707e6cc8b8624.tar.gz gnupg-72a3fd4868ed18faa4921968c1d707e6cc8b8624.zip |
* import.c (parse_import_options), export.c (parse_export_options): Fix
offset problem with reversed ("no-") meanings.
Diffstat (limited to '')
-rw-r--r-- | g10/import.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/g10/import.c b/g10/import.c index ddb483105..415e26ef6 100644 --- a/g10/import.c +++ b/g10/import.c @@ -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++) { |