diff options
Diffstat (limited to 'bufaux.c')
-rw-r--r-- | bufaux.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,7 +37,7 @@ | |||
37 | */ | 37 | */ |
38 | 38 | ||
39 | #include "includes.h" | 39 | #include "includes.h" |
40 | RCSID("$OpenBSD: bufaux.c,v 1.15 2001/01/10 22:56:22 markus Exp $"); | 40 | RCSID("$OpenBSD: bufaux.c,v 1.16 2001/01/16 23:58:08 deraadt Exp $"); |
41 | 41 | ||
42 | #include "ssh.h" | 42 | #include "ssh.h" |
43 | #include <openssl/bn.h> | 43 | #include <openssl/bn.h> |
@@ -90,7 +90,7 @@ buffer_get_bignum(Buffer *buffer, BIGNUM *value) | |||
90 | bytes = (bits + 7) / 8; | 90 | bytes = (bits + 7) / 8; |
91 | if (buffer_len(buffer) < bytes) | 91 | if (buffer_len(buffer) < bytes) |
92 | fatal("buffer_get_bignum: input buffer too small"); | 92 | fatal("buffer_get_bignum: input buffer too small"); |
93 | bin = (u_char*) buffer_ptr(buffer); | 93 | bin = (u_char *) buffer_ptr(buffer); |
94 | BN_bin2bn(bin, bytes, value); | 94 | BN_bin2bn(bin, bytes, value); |
95 | buffer_consume(buffer, bytes); | 95 | buffer_consume(buffer, bytes); |
96 | 96 | ||