summaryrefslogtreecommitdiffstats
path: root/g10/cpr.c
diff options
context:
space:
mode:
authorAndre Heinecke <aheinecke@intevation.de>2017-05-30 10:22:35 +0200
committerAndre Heinecke <aheinecke@intevation.de>2017-05-30 10:22:35 +0200
commitd3d640b9cc98dd0d06b49a2e4d46eb67af96fe29 (patch)
tree13462cf81ca3988e8502161ac2bb3de1748a2efa /g10/cpr.c
parentagent: Fix memory leaks. (diff)
downloadgnupg2-d3d640b9cc98dd0d06b49a2e4d46eb67af96fe29.tar.xz
gnupg2-d3d640b9cc98dd0d06b49a2e4d46eb67af96fe29.zip
gpg: Disable keydb handle caching
* g10/getkey.c (getkey_end): Disable caching of the open keydb handle. -- This created a big regression for Windows because the keyring is only released after the global ctrl is released. So if an operation does a getkey and then tries to modify the keyring it will fail on Windows with a sharing violation. We need to modify all keyring write operations to also take the ctrl and close the cached_getkey_kdb handle to make writing work. See: https://dev.gnupg.org/T3097 GnuPG-Bug-Id: T3097 Signed-off-by: Andre Heinecke <aheinecke@intevation.de>
Diffstat (limited to 'g10/cpr.c')
0 files changed, 0 insertions, 0 deletions