diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-25 05:01:22 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-25 05:01:22 +0000 |
commit | bba81213b972ce15fbbaca60b9ffabb42371ce8f (patch) | |
tree | e6bd40752969f2b93d179cfb9aaae9074ca45956 /ssh-add.c | |
parent | 34f91883a6f3123656b0a8017d68b658f7cf2403 (diff) | |
download | openssh-git-bba81213b972ce15fbbaca60b9ffabb42371ce8f.tar.gz |
- itojun@cvs.openbsd.org 2001/06/23 15:12:20
[auth1.c auth2.c auth2-chall.c authfd.c authfile.c auth-rhosts.c
canohost.c channels.c cipher.c clientloop.c deattack.c dh.c
hostfile.c kex.c kexdh.c kexgex.c key.c nchan.c packet.c radix.c
readpass.c scp.c servconf.c serverloop.c session.c sftp.c
sftp-client.c sftp-glob.c sftp-int.c sftp-server.c ssh-add.c
ssh-agent.c ssh.c sshconnect1.c sshconnect2.c sshconnect.c sshd.c
ssh-keygen.c ssh-keyscan.c]
more strict prototypes. raise warning level in Makefile.inc.
markus ok'ed
TODO; cleanup headers
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-add.c,v 1.38 2001/06/06 23:19:35 markus Exp $"); +RCSID("$OpenBSD: ssh-add.c,v 1.39 2001/06/23 15:12:20 itojun Exp $"); #include <openssl/evp.h> @@ -57,7 +57,7 @@ char *__progname; /* we keep a cache of one passphrases */ static char *pass = NULL; -void +static void clear_pass(void) { if (pass) { @@ -67,7 +67,7 @@ clear_pass(void) } } -void +static void delete_file(AuthenticationConnection *ac, const char *filename) { Key *public; @@ -87,7 +87,7 @@ delete_file(AuthenticationConnection *ac, const char *filename) } /* Send a request to remove all identities. */ -void +static void delete_all(AuthenticationConnection *ac) { int success = 1; @@ -103,7 +103,7 @@ delete_all(AuthenticationConnection *ac) fprintf(stderr, "Failed to remove all identities.\n"); } -void +static void add_file(AuthenticationConnection *ac, const char *filename) { struct stat st; @@ -149,7 +149,7 @@ add_file(AuthenticationConnection *ac, const char *filename) key_free(private); } -void +static void list_identities(AuthenticationConnection *ac, int do_fp) { Key *key; |