diff options
| author | NIIBE Yutaka <[email protected]> | 2018-11-26 02:05:28 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2018-11-26 02:35:22 +0000 |
| commit | 9fb3f0f3f79e74166cce8e0781e97043f25890cc (patch) | |
| tree | f699d512073b613aecb500b03309ea3be1a13aba /common/ssh-utils.h | |
| parent | agent: Clean up SCDaemon management. (diff) | |
| download | gnupg-9fb3f0f3f79e74166cce8e0781e97043f25890cc.tar.gz gnupg-9fb3f0f3f79e74166cce8e0781e97043f25890cc.zip | |
agent: Defer calling assuan_release when it's still in use.
* agent/call-scd.c (struct scd_local_s): Remove LOCK, introduce IN_USE
and INVALID flags.
(unlock_scd): Call assuan_release when CTX is invalid.
(start_scd): Set IN_USE.
(agent_scd_check_aliveness): Don't call assuan_release when it's in use.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/ssh-utils.h')
0 files changed, 0 insertions, 0 deletions
