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.27 2002/06/26 08:53:12 markus Exp $"); | 40 | RCSID("$OpenBSD: bufaux.c,v 1.28 2002/10/23 10:40:16 markus Exp $"); |
41 | 41 | ||
42 | #include <openssl/bn.h> | 42 | #include <openssl/bn.h> |
43 | #include "bufaux.h" | 43 | #include "bufaux.h" |
@@ -225,7 +225,7 @@ buffer_get_string(Buffer *buffer, u_int *length_ptr) | |||
225 | /* Get the length. */ | 225 | /* Get the length. */ |
226 | len = buffer_get_int(buffer); | 226 | len = buffer_get_int(buffer); |
227 | if (len > 256 * 1024) | 227 | if (len > 256 * 1024) |
228 | fatal("buffer_get_string: bad string length %d", len); | 228 | fatal("buffer_get_string: bad string length %u", len); |
229 | /* Allocate space for the string. Add one byte for a null character. */ | 229 | /* Allocate space for the string. Add one byte for a null character. */ |
230 | value = xmalloc(len + 1); | 230 | value = xmalloc(len + 1); |
231 | /* Get the string. */ | 231 | /* Get the string. */ |