summaryrefslogtreecommitdiff
path: root/ssh-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-add.c')
-rw-r--r--ssh-add.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ssh-add.c b/ssh-add.c
index 9240b0d1e..f03ce029e 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: ssh-add.c,v 1.38 2001/06/06 23:19:35 markus Exp $"); 38RCSID("$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 */
59static char *pass = NULL; 59static char *pass = NULL;
60void 60static void
61clear_pass(void) 61clear_pass(void)
62{ 62{
63 if (pass) { 63 if (pass) {
@@ -67,7 +67,7 @@ clear_pass(void)
67 } 67 }
68} 68}
69 69
70void 70static void
71delete_file(AuthenticationConnection *ac, const char *filename) 71delete_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. */
90void 90static void
91delete_all(AuthenticationConnection *ac) 91delete_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
106void 106static void
107add_file(AuthenticationConnection *ac, const char *filename) 107add_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
152void 152static void
153list_identities(AuthenticationConnection *ac, int do_fp) 153list_identities(AuthenticationConnection *ac, int do_fp)
154{ 154{
155 Key *key; 155 Key *key;