diff options
author | David Shaw <[email protected]> | 2002-07-22 22:26:14 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2002-07-22 22:26:14 +0000 |
commit | 125613737cf7b2e600b782369d40473b1bacb603 (patch) | |
tree | 7ec067b90bbf1de0ff4c65bc51d6752f44e83db6 /g10/keyserver.c | |
parent | * options.h, main.h, export.c (parse_export_options, do_export_stream), (diff) | |
download | gnupg-125613737cf7b2e600b782369d40473b1bacb603.tar.gz gnupg-125613737cf7b2e600b782369d40473b1bacb603.zip |
* options.h, main.h, g10.c (main), import.c (parse_import_options,
delete_inv_parts), keyserver.c (parse_keyserver_options): add new
--import-options option. The only current flag is "allow-local-sigs".
* g10.c (main): Don't disable MDC in pgp7 mode.
* options.h, g10.c (main), keyserver.c (parse_keyserver_options): Remove
old keyserver-option include-attributes now that there is an export-option
for the same thing.
Diffstat (limited to '')
-rw-r--r-- | g10/keyserver.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/g10/keyserver.c b/g10/keyserver.c index eddd2cf7c..cff51290b 100644 --- a/g10/keyserver.c +++ b/g10/keyserver.c @@ -54,7 +54,6 @@ struct kopts {"include-revoked",1,&opt.keyserver_options.include_revoked}, {"include-disabled",1,&opt.keyserver_options.include_disabled}, {"include-subkeys",1,&opt.keyserver_options.include_subkeys}, - {"include-attributes",0,&opt.keyserver_options.include_attributes}, {"keep-temp-files",0,&opt.keyserver_options.keep_temp_files}, {"honor-http-proxy",1,&opt.keyserver_options.honor_http_proxy}, {"broken-http-proxy",1,&opt.keyserver_options.broken_http_proxy}, @@ -110,9 +109,12 @@ parse_keyserver_options(char *options) else if(ascii_strcasecmp(tok,"no-use-temp-files")==0) opt.keyserver_options.use_temp_files=0; #endif - else if(!parse_export_options(tok, - &opt.keyserver_options.export_options)) - add_to_strlist(&opt.keyserver_options.other,tok); + else + if(!parse_import_options(tok, + &opt.keyserver_options.import_options) && + !parse_export_options(tok, + &opt.keyserver_options.export_options)) + add_to_strlist(&opt.keyserver_options.other,tok); } } } |