diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-21 00:41:51 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-21 00:41:51 +0000 |
commit | cb72e4f6d2cf63cda22484ec90142689fed288f6 (patch) | |
tree | 3bc1bb95abd19df05ee0b3e78bad6cdba987837f /ssh-agent.c | |
parent | 115422f918d86e007cb3c050e9c4d09102580089 (diff) |
- deraadt@cvs.openbsd.org 2002/06/19 00:27:55
[auth-bsdauth.c auth-skey.c auth1.c auth2-chall.c auth2-none.c authfd.c
authfd.h monitor_wrap.c msg.c nchan.c radix.c readconf.c scp.c sftp.1
ssh-add.1 ssh-add.c ssh-agent.1 ssh-agent.c ssh-keygen.1 ssh-keygen.c
ssh-keysign.c ssh.1 sshconnect.c sshconnect.h sshconnect2.c ttymodes.c
xmalloc.h]
KNF done automatically while reading....
Diffstat (limited to 'ssh-agent.c')
-rw-r--r-- | ssh-agent.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ssh-agent.c b/ssh-agent.c index 536db2de0..c3a907798 100644 --- a/ssh-agent.c +++ b/ssh-agent.c | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | #include "includes.h" | 36 | #include "includes.h" |
37 | #include "openbsd-compat/fake-queue.h" | 37 | #include "openbsd-compat/fake-queue.h" |
38 | RCSID("$OpenBSD: ssh-agent.c,v 1.94 2002/06/15 01:27:48 markus Exp $"); | 38 | RCSID("$OpenBSD: ssh-agent.c,v 1.95 2002/06/19 00:27:55 deraadt Exp $"); |
39 | 39 | ||
40 | #include <openssl/evp.h> | 40 | #include <openssl/evp.h> |
41 | #include <openssl/md5.h> | 41 | #include <openssl/md5.h> |
@@ -365,7 +365,6 @@ process_remove_all_identities(SocketEntry *e, int version) | |||
365 | /* Send success. */ | 365 | /* Send success. */ |
366 | buffer_put_int(&e->output, 1); | 366 | buffer_put_int(&e->output, 1); |
367 | buffer_put_char(&e->output, SSH_AGENT_SUCCESS); | 367 | buffer_put_char(&e->output, SSH_AGENT_SUCCESS); |
368 | return; | ||
369 | } | 368 | } |
370 | 369 | ||
371 | static void | 370 | static void |
@@ -499,11 +498,10 @@ process_lock_agent(SocketEntry *e, int lock) | |||
499 | } | 498 | } |
500 | memset(passwd, 0, strlen(passwd)); | 499 | memset(passwd, 0, strlen(passwd)); |
501 | xfree(passwd); | 500 | xfree(passwd); |
502 | 501 | ||
503 | buffer_put_int(&e->output, 1); | 502 | buffer_put_int(&e->output, 1); |
504 | buffer_put_char(&e->output, | 503 | buffer_put_char(&e->output, |
505 | success ? SSH_AGENT_SUCCESS : SSH_AGENT_FAILURE); | 504 | success ? SSH_AGENT_SUCCESS : SSH_AGENT_FAILURE); |
506 | return; | ||
507 | } | 505 | } |
508 | 506 | ||
509 | static void | 507 | static void |