ssh: Fix possible infinite loop in case of an read error.
authorWerner Koch <wk@gnupg.org>
Wed, 24 Oct 2018 18:11:33 +0000 (20:11 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 24 Oct 2018 18:11:33 +0000 (20:11 +0200)
commit7385e1babf6eef586c79ad23f8e541aaf608c4e5
tree42a01132ea996a3d33f1eed54f51584a5f5f0ef7
parent378719f25fe00d46393541f4a4f79e04484c3000
ssh: Fix possible infinite loop in case of an read error.

* agent/command-ssh.c (ssh_handler_add_identity): Handle other errors
than EOF.
--

GnuPG-bug-id: 4221
Signed-off-by: Werner Koch <wk@gnupg.org>
agent/command-ssh.c