1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-10 23:49:50 +02:00
gnupg/agent
Werner Koch 0f02fba19d agent: Fix deadlock in trustlist due to the switch to npth.
* agent/trustlist.c (clear_trusttable): New.
(agent_reload_trustlist): Use new function.
(read_trustfiles): Require to be called with lock held.
(agent_istrusted): Factor all code out to ...
(istrusted_internal): new.  Add ALREADY_LOCKED arg.  Make sure the
table islocked.  Do not print TRUSTLISTFLAG stati if called internally.
(agent_marktrusted): Replace calls to agent_reload_trustlist by
explicit code.
--

In contrast to pth, npth does not use recursive mutexes by default.
However, the code in trustlist.c assumed recursive locks and thus we
had to rework it.
2012-04-30 14:37:36 +02:00
..
agent.h agent: Add pin length field to the shadowed private key format. 2012-02-07 14:17:33 +01:00
cache.c Port to npth. 2012-01-25 14:50:47 +01:00
call-pinentry.c Port to npth. 2012-01-25 14:50:47 +01:00
call-scd.c Also check for GPG_ERR_ASS_CANCELED during an inquire. 2012-01-25 19:40:58 -05:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command-ssh.c Improve ssh card key diagnostic message. 2011-11-28 10:48:25 +01:00
command.c agent: Add pin length field to the shadowed private key format. 2012-02-07 14:17:33 +01:00
cvt-openpgp.c Fix size_t vs int issues. 2011-06-01 21:43:30 +02:00
cvt-openpgp.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
divert-scd.c agent: Add pin length field to the shadowed private key format. 2012-02-07 14:17:33 +01:00
findkey.c Port to npth. 2012-01-25 14:50:47 +01:00
genkey.c Allow no protection in pinentry-mode=loopback. 2011-09-13 08:33:43 +02:00
gpg-agent.c Print warning for arguments not considered an option. 2012-03-27 12:38:49 +02:00
keyformat.txt agent: Add pin length field to the shadowed private key format. 2012-02-07 14:17:33 +01:00
learncard.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
Makefile.am Port to npth. 2012-01-25 14:50:47 +01:00
pkdecrypt.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
pksign.c Fix ECDSA 521 bit signing. 2011-02-07 14:38:39 +01:00
preset-passphrase.c common: Add a global variable to for the default error source. 2012-02-06 20:50:47 +01:00
protect-tool.c common: Add a global variable to for the default error source. 2012-02-06 20:50:47 +01:00
protect.c agent: Add pin length field to the shadowed private key format. 2012-02-07 14:17:33 +01:00
t-protect.c Added gpg-agent OPTION "s2k-count". 2011-06-29 13:17:25 +02:00
trans.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
trustlist.c agent: Fix deadlock in trustlist due to the switch to npth. 2012-04-30 14:37:36 +02:00
w32main.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
w32main.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00