1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* main.h, import.c (import_one): Optionally return the fingerprint of

the key being imported.  (import_keys_internal, import_keys_stream,
import): Change all callers.
This commit is contained in:
David Shaw 2006-03-14 02:23:00 +00:00
parent 7e3ba27aef
commit 671ec45001
4 changed files with 43 additions and 26 deletions

View file

@ -1457,7 +1457,7 @@ keyserver_spawn(enum ks_action action,STRLIST list,KEYDB_SEARCH_DESC *desc,
way to do this could be to continue parsing this
line-by-line and make a temp iobuf for each key. */
import_keys_stream(spawn->fromchild,stats_handle,
import_keys_stream(spawn->fromchild,stats_handle,NULL,NULL,
opt.keyserver_options.import_options);
import_print_stats(stats_handle);
@ -1995,7 +1995,8 @@ keyserver_import_cert(const char *name)
/* CERTs are always in binary format */
opt.no_armor=1;
rc=import_keys_stream(key,NULL,opt.keyserver_options.import_options);
rc=import_keys_stream(key,NULL,NULL,NULL,
opt.keyserver_options.import_options);
opt.no_armor=armor_status;