Only call close once in confree(). ssh_packet_close will close the FD
authordtucker <dtucker@openbsd.org>
Fri, 30 Jun 2017 04:17:23 +0000 (04:17 +0000)
committerdtucker <dtucker@openbsd.org>
Fri, 30 Jun 2017 04:17:23 +0000 (04:17 +0000)
commit6cadb082d50238de593c5404fe09a44082e6e82f
tree97b36f409a3c09f23d48bbb3a77940067bc1dded
parent2b57e4d7fad3b6376a2ec8e3a6e82b1620bfa302
Only call close once in confree().  ssh_packet_close will close the FD
so only explicitly close non-SSH channels.  bz#2734, from
bagajjal at microsoft.com, ok djm@
usr.bin/ssh/ssh-keyscan.c