diff options
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: ssh-add.c,v 1.38 2001/06/06 23:19:35 markus Exp $"); | 38 | RCSID("$OpenBSD: ssh-add.c,v 1.39 2001/06/23 15:12:20 itojun Exp $"); |
39 | 39 | ||
40 | #include <openssl/evp.h> | 40 | #include <openssl/evp.h> |
41 | 41 | ||
@@ -57,7 +57,7 @@ char *__progname; | |||
57 | 57 | ||
58 | /* we keep a cache of one passphrases */ | 58 | /* we keep a cache of one passphrases */ |
59 | static char *pass = NULL; | 59 | static char *pass = NULL; |
60 | void | 60 | static void |
61 | clear_pass(void) | 61 | clear_pass(void) |
62 | { | 62 | { |
63 | if (pass) { | 63 | if (pass) { |
@@ -67,7 +67,7 @@ clear_pass(void) | |||
67 | } | 67 | } |
68 | } | 68 | } |
69 | 69 | ||
70 | void | 70 | static void |
71 | delete_file(AuthenticationConnection *ac, const char *filename) | 71 | delete_file(AuthenticationConnection *ac, const char *filename) |
72 | { | 72 | { |
73 | Key *public; | 73 | Key *public; |
@@ -87,7 +87,7 @@ delete_file(AuthenticationConnection *ac, const char *filename) | |||
87 | } | 87 | } |
88 | 88 | ||
89 | /* Send a request to remove all identities. */ | 89 | /* Send a request to remove all identities. */ |
90 | void | 90 | static void |
91 | delete_all(AuthenticationConnection *ac) | 91 | delete_all(AuthenticationConnection *ac) |
92 | { | 92 | { |
93 | int success = 1; | 93 | int success = 1; |
@@ -103,7 +103,7 @@ delete_all(AuthenticationConnection *ac) | |||
103 | fprintf(stderr, "Failed to remove all identities.\n"); | 103 | fprintf(stderr, "Failed to remove all identities.\n"); |
104 | } | 104 | } |
105 | 105 | ||
106 | void | 106 | static void |
107 | add_file(AuthenticationConnection *ac, const char *filename) | 107 | add_file(AuthenticationConnection *ac, const char *filename) |
108 | { | 108 | { |
109 | struct stat st; | 109 | struct stat st; |
@@ -149,7 +149,7 @@ add_file(AuthenticationConnection *ac, const char *filename) | |||
149 | key_free(private); | 149 | key_free(private); |
150 | } | 150 | } |
151 | 151 | ||
152 | void | 152 | static void |
153 | list_identities(AuthenticationConnection *ac, int do_fp) | 153 | list_identities(AuthenticationConnection *ac, int do_fp) |
154 | { | 154 | { |
155 | Key *key; | 155 | Key *key; |