diff options
Diffstat (limited to 'bufaux.c')
-rw-r--r-- | bufaux.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -37,7 +37,7 @@ | |||
37 | */ | 37 | */ |
38 | 38 | ||
39 | #include "includes.h" | 39 | #include "includes.h" |
40 | RCSID("$OpenBSD: bufaux.c,v 1.22 2002/01/18 18:14:17 stevesk Exp $"); | 40 | RCSID("$OpenBSD: bufaux.c,v 1.23 2002/03/18 17:25:29 provos Exp $"); |
41 | 41 | ||
42 | #include <openssl/bn.h> | 42 | #include <openssl/bn.h> |
43 | #include "bufaux.h" | 43 | #include "bufaux.h" |
@@ -221,6 +221,8 @@ buffer_put_string(Buffer *buffer, const void *buf, u_int len) | |||
221 | void | 221 | void |
222 | buffer_put_cstring(Buffer *buffer, const char *s) | 222 | buffer_put_cstring(Buffer *buffer, const char *s) |
223 | { | 223 | { |
224 | if (s == NULL) | ||
225 | fatal("buffer_put_cstring: s == NULL"); | ||
224 | buffer_put_string(buffer, s, strlen(s)); | 226 | buffer_put_string(buffer, s, strlen(s)); |
225 | } | 227 | } |
226 | 228 | ||