summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 4d950aee8..10289cab7 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -14,12 +14,18 @@ Identity and host key generation and maintenance.
14*/ 14*/
15 15
16#include "includes.h" 16#include "includes.h"
17RCSID("$Id: ssh-keygen.c,v 1.3 1999/11/12 04:19:27 damien Exp $"); 17RCSID("$Id: ssh-keygen.c,v 1.4 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"
21#include "xmalloc.h" 21#include "xmalloc.h"
22 22
23#ifdef HAVE___PROGNAME
24extern char *__progname;
25#else /* HAVE___PROGNAME */
26const char *__progname = "ssh-keygen";
27#endif /* HAVE___PROGNAME */
28
23/* Generated private key. */ 29/* Generated private key. */
24RSA *private_key; 30RSA *private_key;
25 31
@@ -317,7 +323,6 @@ main(int ac, char **av)
317 323
318 /* check if RSA support exists */ 324 /* check if RSA support exists */
319 if (rsa_alive() == 0) { 325 if (rsa_alive() == 0) {
320 extern char *__progname;
321 326
322 fprintf(stderr, 327 fprintf(stderr,
323 "%s: no RSA support in libssl and libcrypto. See ssl(8).\n", 328 "%s: no RSA support in libssl and libcrypto. See ssl(8).\n",