diff options
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r-- | ssh-keygen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index e74d3cd37..5b7bc400a 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: ssh-keygen.c,v 1.108 2003/08/14 16:08:58 markus Exp $"); | 15 | RCSID("$OpenBSD: ssh-keygen.c,v 1.109 2003/09/18 13:02:21 miod Exp $"); |
16 | 16 | ||
17 | #include <openssl/evp.h> | 17 | #include <openssl/evp.h> |
18 | #include <openssl/pem.h> | 18 | #include <openssl/pem.h> |
@@ -191,8 +191,8 @@ do_convert_to_ssh2(struct passwd *pw) | |||
191 | static void | 191 | static void |
192 | buffer_get_bignum_bits(Buffer *b, BIGNUM *value) | 192 | buffer_get_bignum_bits(Buffer *b, BIGNUM *value) |
193 | { | 193 | { |
194 | int bits = buffer_get_int(b); | 194 | u_int bits = buffer_get_int(b); |
195 | int bytes = (bits + 7) / 8; | 195 | u_int bytes = (bits + 7) / 8; |
196 | 196 | ||
197 | if (buffer_len(b) < bytes) | 197 | if (buffer_len(b) < bytes) |
198 | fatal("buffer_get_bignum_bits: input buffer too small: " | 198 | fatal("buffer_get_bignum_bits: input buffer too small: " |