mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
sm: Fix finding of issuer in use-keyboxd mode.
* sm/keydb.c (struct keydb_local_s): Add field saved_search_result. (keydb_push_found_state): Implement for keyboxd. (keydb_pop_found_state): Ditto. (keydb_get_cert): Do not release the cert so that the function can be used again to get the same cert. This is the same behaviour as in pubring.kbx mode. * sm/certchain.c, sm/import.c: Improve some error messages. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
4e02db75e3
commit
6b76693ff5
3 changed files with 64 additions and 39 deletions
|
@ -459,7 +459,8 @@ reimport_one (ctrl_t ctrl, struct stats_s *stats, int in_fd)
|
|||
err = keydb_get_cert (kh, &cert);
|
||||
if (err)
|
||||
{
|
||||
log_error ("keydb_get_cert() failed: %s\n", gpg_strerror (err));
|
||||
log_error ("keydb_get_cert failed in %s: %s <%s>\n",
|
||||
__func__, gpg_strerror (err), gpg_strsource (err));
|
||||
print_import_problem (ctrl, NULL, 1);
|
||||
stats->not_imported++;
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue