summaryrefslogtreecommitdiffstats
path: root/kbx
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2023-12-18 16:23:19 +0100
committerWerner Koch <wk@gnupg.org>2023-12-18 16:23:19 +0100
commitbd8346f7abdd6c163d563a2ed5059b514beb7c01 (patch)
treeb7efadff46cd6739f4742951c8820c75c99d28a7 /kbx
parentkeyboxd: Timeout on failure to get the database lock. (diff)
downloadgnupg2-bd8346f7abdd6c163d563a2ed5059b514beb7c01.tar.xz
gnupg2-bd8346f7abdd6c163d563a2ed5059b514beb7c01.zip
keyboxd: Pass lock info back to gpg and gpgsm.
* g10/call-keyboxd.c (keydb_default_status_cb): New. (keydb_update_keyblock): Add new status callback. (keydb_insert_keyblock): Ditto. (keydb_delete_keyblock): Ditto. (search_status_cb): Also try the new status callback. * sm/keydb.c (keydb_default_status_cb): New. (keydb_insert_cert): Add new status callback. (keydb_delete): Ditto (search_status_cb): Also try the new status callback. -- GnuPG-bug-id: 6838
Diffstat (limited to 'kbx')
-rw-r--r--kbx/kbx-client-util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kbx/kbx-client-util.c b/kbx/kbx-client-util.c
index f9d06fab8..f6456a508 100644
--- a/kbx/kbx-client-util.c
+++ b/kbx/kbx-client-util.c
@@ -399,10 +399,10 @@ kbx_client_data_cmd (kbx_client_data_t kcd, const char *command,
status_cb, status_cb_value);
if (err)
{
- if (gpg_err_code (err) != GPG_ERR_NOT_FOUND
- && gpg_err_code (err) != GPG_ERR_NOTHING_FOUND)
- log_debug ("%s: finished command with error: %s\n",
- __func__, gpg_strerror (err));
+ /* if (gpg_err_code (err) != GPG_ERR_NOT_FOUND */
+ /* && gpg_err_code (err) != GPG_ERR_NOTHING_FOUND) */
+ /* log_debug ("%s: finished command with error: %s\n", */
+ /* __func__, gpg_strerror (err)); */
xfree (get_membuf (&mb, &len));
kcd->dlineerr = err;
goto leave;