Home GnuPG
Diffusion GnuPG 677245ba0e7d

sm: Lock kbx files also before a search.

Description

sm: Lock kbx files also before a search.

* sm/keydb.c (keydb_search): Lock files.

This is required for Windows to avoid update locks. We use it also on
Unix so that the locking behaviour is more or less indentical.

Details

Provenance
wernerAuthored on Mar 2 2021, 7:03 PM
Parents
rG2b9ae79ad81a: sm: On Windows close the kbx files at several places.
Branches
Unknown
Tags
Unknown
Tasks
T4505: SM, W32: GPGSM hangs up the GnuPG System