aboutsummaryrefslogtreecommitdiffstats
path: root/g10/import.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-04-14 21:33:45 +0000
committerDavid Shaw <[email protected]>2004-04-14 21:33:45 +0000
commita9b00b06d1161cff6f9278f35e913b2db25538c0 (patch)
tree1bbd69cb819df80a17d0bcf8c551cb31838db306 /g10/import.c
parent* options.h: Encapsulate keyserver details. Change all callers. (diff)
downloadgnupg-a9b00b06d1161cff6f9278f35e913b2db25538c0.tar.gz
gnupg-a9b00b06d1161cff6f9278f35e913b2db25538c0.zip
* options.h, import.c, keyserver-internal.h, g10.c, mainproc.c,
keyserver.c (parse_keyserver_uri): Parse keyserver URI into a structure. Cleanup for new "guess my keyserver" functionality, as well as refreshing via a preferred keyserver subpacket.
Diffstat (limited to '')
-rw-r--r--g10/import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/import.c b/g10/import.c
index 89e95dda7..bbe590afa 100644
--- a/g10/import.c
+++ b/g10/import.c
@@ -1691,8 +1691,8 @@ revocation_present(KBNODE keyblock)
char *tempkeystr=m_strdup(keystr_from_pk(pk));
/* No, so try and get it */
- if(opt.keyserver.scheme &&
- opt.keyserver_options.auto_key_retrieve)
+ if(opt.keyserver
+ && opt.keyserver_options.auto_key_retrieve)
{
log_info(_("WARNING: key %s may be revoked:"
" fetching revocation key %s\n"),