=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/bufaux.c,v retrieving revision 1.17.2.3 retrieving revision 1.17.4.2 diff -u -r1.17.2.3 -r1.17.4.2 --- src/usr.bin/ssh/Attic/bufaux.c 2002/06/02 22:56:09 1.17.2.3 +++ src/usr.bin/ssh/Attic/bufaux.c 2002/04/23 02:13:50 1.17.4.2 @@ -37,7 +37,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: bufaux.c,v 1.17.2.3 2002/06/02 22:56:09 miod Exp $"); +RCSID("$OpenBSD: bufaux.c,v 1.17.4.2 2002/04/23 02:13:50 jason Exp $"); #include #include "bufaux.h" @@ -208,7 +208,7 @@ /* Get the length. */ len = buffer_get_int(buffer); if (len > 256 * 1024) - fatal("buffer_get_string: bad string length %d", len); + fatal("Received packet with bad string length %d", len); /* Allocate space for the string. Add one byte for a null character. */ value = xmalloc(len + 1); /* Get the string. */ @@ -233,8 +233,6 @@ void buffer_put_cstring(Buffer *buffer, const char *s) { - if (s == NULL) - fatal("buffer_put_cstring: s == NULL"); buffer_put_string(buffer, s, strlen(s)); }