summaryrefslogtreecommitdiff
path: root/bufaux.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2003-09-01 18:42:19 +0000
committerColin Watson <cjwatson@debian.org>2003-09-01 18:42:19 +0000
commit8d6b7f4c46de3feb66f704ab483e51ea1a3bb0e1 (patch)
tree41fe3dd71501bbec5b0393f1536c925eaee180e9 /bufaux.c
parentf045c69060bfdd5cf8759a5f29d7008d02e4de5b (diff)
parent58bfa257481a1c6938ada9bbd38801cc45633fb0 (diff)
Debian release 3.6p1-1.
Diffstat (limited to 'bufaux.c')
-rw-r--r--bufaux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bufaux.c b/bufaux.c
index d3dc674ce..3c276b810 100644
--- a/bufaux.c
+++ b/bufaux.c
@@ -37,7 +37,7 @@
37 */ 37 */
38 38
39#include "includes.h" 39#include "includes.h"
40RCSID("$OpenBSD: bufaux.c,v 1.27 2002/06/26 08:53:12 markus Exp $"); 40RCSID("$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. */