diff options
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r-- | ssh-keygen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index bf7f0ced2..81070d2ef 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -7,7 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include "includes.h" | 9 | #include "includes.h" |
10 | RCSID("$Id: ssh-keygen.c,v 1.11 2000/03/09 10:27:51 damien Exp $"); | 10 | RCSID("$Id: ssh-keygen.c,v 1.12 2000/03/17 12:40:17 damien Exp $"); |
11 | 11 | ||
12 | #include "rsa.h" | 12 | #include "rsa.h" |
13 | #include "ssh.h" | 13 | #include "ssh.h" |
@@ -85,6 +85,7 @@ do_fingerprint(struct passwd *pw) | |||
85 | RSA *public_key; | 85 | RSA *public_key; |
86 | char *comment = NULL, *cp, *ep, line[16*1024]; | 86 | char *comment = NULL, *cp, *ep, line[16*1024]; |
87 | int i, skip = 0, num = 1, invalid = 1; | 87 | int i, skip = 0, num = 1, invalid = 1; |
88 | unsigned int ignore; | ||
88 | struct stat st; | 89 | struct stat st; |
89 | 90 | ||
90 | if (!have_identity) | 91 | if (!have_identity) |
@@ -142,7 +143,7 @@ do_fingerprint(struct passwd *pw) | |||
142 | *cp++ = '\0'; | 143 | *cp++ = '\0'; |
143 | } | 144 | } |
144 | ep = cp; | 145 | ep = cp; |
145 | if (auth_rsa_read_key(&cp, &i, e, n)) { | 146 | if (auth_rsa_read_key(&cp, &ignore, e, n)) { |
146 | invalid = 0; | 147 | invalid = 0; |
147 | comment = *cp ? cp : comment; | 148 | comment = *cp ? cp : comment; |
148 | printf("%d %s %s\n", BN_num_bits(n), | 149 | printf("%d %s %s\n", BN_num_bits(n), |