If the client thread terminates while a pinentry is running, terminate
commitc907cdbfa74881626148f90504fdf8c843691066
authorBen Kibbey <bjk@luxsci.net>
Tue, 27 Jan 2009 02:44:34 +0000 (26 21:44 -0500)
committerBen Kibbey <bjk@luxsci.net>
Tue, 27 Jan 2009 02:44:34 +0000 (26 21:44 -0500)
tree7a274a545e6b4bff0be3250c8f89e3ea51fda5c3
parent4475fd7bab44ebf0a3eac3ab326d87026515404d
If the client thread terminates while a pinentry is running, terminate
the pinentry process in cleanup_pinentry().

Added a few pthread_testcancel() checks and thread cleanup handlers.
src/commands.c
src/pinentry.c
src/pwmd.c