From 061d5b144f7aaa9ce86838d437790b8e3a46050c Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 4 Sep 2002 16:33:31 +1000 Subject: [PATCH] - stevesk@cvs.openbsd.org 2002/08/22 20:57:19 [ssh-agent.c] shutdown(SHUT_RDWR) not needed before close here; ok markus@ --- ChangeLog | 5 ++++- ssh-agent.c | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2d6dc245d..1c00c95ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,9 @@ [clientloop.c] format with current EscapeChar; bugzilla #388 from wknox@mitre.org. ok markus@ + - stevesk@cvs.openbsd.org 2002/08/22 20:57:19 + [ssh-agent.c] + shutdown(SHUT_RDWR) not needed before close here; ok markus@ 20020820 - OpenBSD CVS Sync @@ -1561,4 +1564,4 @@ - (stevesk) entropy.c: typo in debug message - (djm) ssh-keygen -i needs seeded RNG; report from markus@ -$Id: ChangeLog,v 1.2432 2002/09/04 06:32:10 djm Exp $ +$Id: ChangeLog,v 1.2433 2002/09/04 06:33:31 djm Exp $ diff --git a/ssh-agent.c b/ssh-agent.c index cdc236d99..0bfef4dce 100644 --- a/ssh-agent.c +++ b/ssh-agent.c @@ -35,7 +35,7 @@ #include "includes.h" #include "openbsd-compat/fake-queue.h" -RCSID("$OpenBSD: ssh-agent.c,v 1.101 2002/08/22 19:27:53 stevesk Exp $"); +RCSID("$OpenBSD: ssh-agent.c,v 1.102 2002/08/22 20:57:19 stevesk Exp $"); #include #include @@ -109,7 +109,6 @@ char *__progname; static void close_socket(SocketEntry *e) { - shutdown(e->fd, SHUT_RDWR); close(e->fd); e->fd = -1; e->type = AUTH_UNUSED;