summaryrefslogtreecommitdiff
path: root/ssh-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-add.c')
-rw-r--r--ssh-add.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/ssh-add.c b/ssh-add.c
index bf3d7faea..0f01d5dfd 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -14,7 +14,7 @@ Adds an identity to the authentication server, or removes an identity.
14*/ 14*/
15 15
16#include "includes.h" 16#include "includes.h"
17RCSID("$Id: ssh-add.c,v 1.7 1999/11/15 03:25:30 damien Exp $"); 17RCSID("$Id: ssh-add.c,v 1.8 1999/11/15 06:10:57 damien Exp $");
18 18
19#include "rsa.h" 19#include "rsa.h"
20#include "ssh.h" 20#include "ssh.h"
@@ -25,6 +25,12 @@ RCSID("$Id: ssh-add.c,v 1.7 1999/11/15 03:25:30 damien Exp $");
25int askpass(const char *filename, RSA *key, const char *saved_comment, char **comment); 25int askpass(const char *filename, RSA *key, const char *saved_comment, char **comment);
26#endif /* USE_EXTERNAL_ASKPASS */ 26#endif /* USE_EXTERNAL_ASKPASS */
27 27
28#ifdef HAVE___PROGNAME
29extern char *__progname;
30#else /* HAVE___PROGNAME */
31const char *__progname = "ssh-add";
32#endif /* HAVE___PROGNAME */
33
28void 34void
29delete_file(AuthenticationConnection *ac, const char *filename) 35delete_file(AuthenticationConnection *ac, const char *filename)
30{ 36{
@@ -175,7 +181,6 @@ main(int argc, char **argv)
175 181
176 /* check if RSA support exists */ 182 /* check if RSA support exists */
177 if (rsa_alive() == 0) { 183 if (rsa_alive() == 0) {
178 extern char *__progname;
179 184
180 fprintf(stderr, 185 fprintf(stderr,
181 "%s: no RSA support in libssl and libcrypto. See ssl(8).\n", 186 "%s: no RSA support in libssl and libcrypto. See ssl(8).\n",