summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-09-04 16:33:31 +1000
committerDamien Miller <djm@mindrot.org>2002-09-04 16:33:31 +1000
commit061d5b144f7aaa9ce86838d437790b8e3a46050c (patch)
tree8d432b019d808ecba0a6bf7ede760c77e59223cc
parent066928648b11cc1ee02aca138853f17b3b6cf2f6 (diff)
- stevesk@cvs.openbsd.org 2002/08/22 20:57:19
[ssh-agent.c] shutdown(SHUT_RDWR) not needed before close here; ok markus@
-rw-r--r--ChangeLog5
-rw-r--r--ssh-agent.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d6dc245..1c00c95c 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 cdc236d9..0bfef4dc 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 <openssl/evp.h>
#include <openssl/md5.h>
@@ -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;