summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-agent.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-06-19 00:27:55 +0000
committerderaadt <deraadt@openbsd.org>2002-06-19 00:27:55 +0000
commit4d92f097ed8083b0e7cbdd57c0cb4ff45b4a21e6 (patch)
treee6816e2b604bc2ba3e22316841a95a9d703be8a8 /usr.bin/ssh/ssh-agent.c
parentpull in missing includes (diff)
downloadwireguard-openbsd-4d92f097ed8083b0e7cbdd57c0cb4ff45b4a21e6.tar.xz
wireguard-openbsd-4d92f097ed8083b0e7cbdd57c0cb4ff45b4a21e6.zip
KNF done automatically while reading....
Diffstat (limited to 'usr.bin/ssh/ssh-agent.c')
-rw-r--r--usr.bin/ssh/ssh-agent.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c
index b85dbc06595..84f75fd8b94 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.94 2002/06/15 01:27:48 markus Exp $");
+RCSID("$OpenBSD: ssh-agent.c,v 1.95 2002/06/19 00:27:55 deraadt Exp $");
#include <openssl/evp.h>
#include <openssl/md5.h>
@@ -361,7 +361,6 @@ process_remove_all_identities(SocketEntry *e, int version)
/* Send success. */
buffer_put_int(&e->output, 1);
buffer_put_char(&e->output, SSH_AGENT_SUCCESS);
- return;
}
static void
@@ -495,11 +494,10 @@ process_lock_agent(SocketEntry *e, int lock)
}
memset(passwd, 0, strlen(passwd));
xfree(passwd);
-
+
buffer_put_int(&e->output, 1);
buffer_put_char(&e->output,
success ? SSH_AGENT_SUCCESS : SSH_AGENT_FAILURE);
- return;
}
static void