aboutsummaryrefslogtreecommitdiffstats
path: root/g10/import.c
diff options
context:
space:
mode:
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"),