aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-keyboxd.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-12-18 14:25:45 +0000
committerWerner Koch <[email protected]>2023-12-18 14:25:45 +0000
commitc99282fc7838870b70a831924778e50cac34b3e1 (patch)
tree5c6e5c63e2d45cf218950b7b5d82eff327146d52 /g10/call-keyboxd.c
parentcommon: Add an info callback to dotlock. (diff)
downloadgnupg-c99282fc7838870b70a831924778e50cac34b3e1.tar.gz
gnupg-c99282fc7838870b70a831924778e50cac34b3e1.zip
keyboxd: Timeout on failure to get the database lock.
* kbx/backend-sqlite.c (dblock_info_cb): New. (create_or_open_database): Add arg ctrl. Add a 10 second timeout. Avoid warning on error if not locked. (be_sqlite_add_resource): Do not open the database here. (be_sqlite_search): ... but do it here. -- Note that we need to delay the initalization to the first use of the database so that we actually have a recipient for the status messages. GnuPG-bug-id: 6838
Diffstat (limited to 'g10/call-keyboxd.c')
0 files changed, 0 insertions, 0 deletions