Dont try to hold the file mutex when a pinentry is running. This fixes a
commit423aa405db83297f3c269478d5569375ae46bd6f
authorBen Kibbey <bjk@luxsci.net>
Sun, 24 Oct 2010 14:04:58 +0000 (24 10:04 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sun, 24 Oct 2010 14:04:58 +0000 (24 10:04 -0400)
tree71b04ceded825a9f6be46ffe3b67c5938088224f
parent7eabc122f11814bfe543fc8c57ebf6d3b928a71b
Dont try to hold the file mutex when a pinentry is running. This fixes a
file mutex locking bug. It also changes the behaviour of multiple clients
trying to use the pinentry. Only one instance of pinentry is used as
before, but the current client using the pinentry wont hold onto the
pinentry lock. Another client waiting for the pinentry mutex will get the
lock after the first clients pinentry returns.
src/commands.c
src/pinentry.c