summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-agent.c
diff options
context:
space:
mode:
authorstevesk <stevesk@openbsd.org>2002-08-22 20:57:19 +0000
committerstevesk <stevesk@openbsd.org>2002-08-22 20:57:19 +0000
commit854b5602bbe5dc86625ddeb12afd955bf732715e (patch)
tree78de6ba9dfaf29b9c0632924f2557bdbb09364cc /usr.bin/ssh/ssh-agent.c
parentsshd_config(5) now; ok markus@ (diff)
downloadwireguard-openbsd-854b5602bbe5dc86625ddeb12afd955bf732715e.tar.xz
wireguard-openbsd-854b5602bbe5dc86625ddeb12afd955bf732715e.zip
shutdown(SHUT_RDWR) not needed before close here; ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh-agent.c')
-rw-r--r--usr.bin/ssh/ssh-agent.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c
index 6723148a8dc..bcfc8b91b80 100644
--- a/usr.bin/ssh/ssh-agent.c
+++ b/usr.bin/ssh/ssh-agent.c
@@ -35,7 +35,7 @@
#include "includes.h"
#include <sys/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>
@@ -105,7 +105,6 @@ extern char *__progname;
static void
close_socket(SocketEntry *e)
{
- shutdown(e->fd, SHUT_RDWR);
close(e->fd);
e->fd = -1;
e->type = AUTH_UNUSED;