Fix pwmd_process() to handle GPG_ERR_EOF.
commitae26daebb9fa7fe69406c5b25ee14330fc8d5206
authorBen Kibbey <bjk@luxsci.net>
Tue, 8 Jan 2013 03:52:24 +0000 (7 22:52 -0500)
committerBen Kibbey <bjk@luxsci.net>
Tue, 8 Jan 2013 03:52:24 +0000 (7 22:52 -0500)
tree5dc54d3ebf6ba52af742b226cbb0633b569db6a5
parentde9a5b716fe37a569547b2aa1c2b93b6e5110f8e
Fix pwmd_process() to handle GPG_ERR_EOF.

May occur when the remote closes the connection. Doing pwmd_close() may
hang (BYE command from libassuan) so close the FD when this error is
encountered.

Cleanups of how tcp FD's are done. Sheesh.
src/libpwmd.c
src/ssh.c
src/tls.c
src/types.h