diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -18,7 +18,7 @@ Modified to work with SSL by Niels Provos <provos@citi.umich.edu> in Canada. | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include "includes.h" | 20 | #include "includes.h" |
21 | RCSID("$Id: ssh.c,v 1.8 1999/11/15 04:25:10 damien Exp $"); | 21 | RCSID("$Id: ssh.c,v 1.9 1999/11/15 06:10:57 damien Exp $"); |
22 | 22 | ||
23 | #include "xmalloc.h" | 23 | #include "xmalloc.h" |
24 | #include "ssh.h" | 24 | #include "ssh.h" |
@@ -28,6 +28,12 @@ RCSID("$Id: ssh.c,v 1.8 1999/11/15 04:25:10 damien Exp $"); | |||
28 | #include "readconf.h" | 28 | #include "readconf.h" |
29 | #include "uidswap.h" | 29 | #include "uidswap.h" |
30 | 30 | ||
31 | #ifdef HAVE___PROGNAME | ||
32 | extern char *__progname; | ||
33 | #else /* HAVE___PROGNAME */ | ||
34 | const char *__progname = "ssh"; | ||
35 | #endif /* HAVE___PROGNAME */ | ||
36 | |||
31 | /* Flag indicating whether debug mode is on. This can be set on the | 37 | /* Flag indicating whether debug mode is on. This can be set on the |
32 | command line. */ | 38 | command line. */ |
33 | int debug_flag = 0; | 39 | int debug_flag = 0; |
@@ -399,7 +405,6 @@ main(int ac, char **av) | |||
399 | 405 | ||
400 | /* check if RSA support exists */ | 406 | /* check if RSA support exists */ |
401 | if (rsa_alive() == 0) { | 407 | if (rsa_alive() == 0) { |
402 | extern char *__progname; | ||
403 | 408 | ||
404 | fprintf(stderr, | 409 | fprintf(stderr, |
405 | "%s: no RSA support in libssl and libcrypto. See ssl(8).\n", | 410 | "%s: no RSA support in libssl and libcrypto. See ssl(8).\n", |