diff options
author | NIIBE Yutaka <[email protected]> | 2019-03-06 01:33:54 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2019-03-06 02:00:10 +0000 |
commit | 2abad7585a004586e27ead6ab8c9c57ce5ed1326 (patch) | |
tree | fc75eeaa5bdf123eb912e9c16e35e03f6d233f74 /dirmngr/http-common.c | |
parent | card: Print card version. Check for bad Yubikeys. (diff) | |
download | gnupg-2abad7585a004586e27ead6ab8c9c57ce5ed1326.tar.gz gnupg-2abad7585a004586e27ead6ab8c9c57ce5ed1326.zip |
agent: Fix detection of exit of scdaemon.
* agent/call-scd.c (start_scd): Acquire START_SCD_LOCK for
SCD_LOCAL_LIST. Move common case code to fast path.
Release START_SCD_LOCK before calling unlock_scd.
When new CTX is allocated, clear INVALID flag.
(agent_reset_scd): Serialize the access to SCD_LOCAL_LIST by
START_SCD_LOCK.
--
GnuPG-bug-id: 4377
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'dirmngr/http-common.c')
0 files changed, 0 insertions, 0 deletions