(keyserver_import_cert): Show warning if there is a CERT fingerprint,

but no --keyserver set.
This commit is contained in:
David Shaw 2006-04-27 03:38:56 +00:00
parent 034937c6d1
commit bc81ce601f
2 changed files with 9 additions and 1 deletions

View File

@ -1,9 +1,11 @@
2006-04-26 David Shaw <dshaw@jabberwocky.com>
* keyserver.c (path_makes_direct): New.
* keyserver.c (direct_uri_map): New.
(keyserver_spawn): Used here to add "_uri" to certain gpgkeys_xxx
helpers when the meaning is different if a path is provided
(i.e. ldap).
(keyserver_import_cert): Show warning if there is a CERT
fingerprint, but no --keyserver set.
2006-04-22 David Shaw <dshaw@jabberwocky.com>

View File

@ -2024,6 +2024,12 @@ keyserver_import_cert(const char *name,unsigned char **fpr,size_t *fpr_len)
rc=keyserver_import_fprint(*fpr,*fpr_len,opt.keyserver);
}
else
log_info(_("no keyserver known (use option --keyserver)\n"));
/* Give a better string here? "CERT fingerprint for \"%s\"
found, but no keyserver" " known (use option
--keyserver)\n" ? */
xfree(url);
}