diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -14,7 +14,7 @@ | |||
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include "includes.h" | 16 | #include "includes.h" |
17 | RCSID("$OpenBSD: sshd.c,v 1.115 2000/05/03 10:21:49 markus Exp $"); | 17 | RCSID("$OpenBSD: sshd.c,v 1.116 2000/05/17 08:20:16 markus Exp $"); |
18 | 18 | ||
19 | #include "xmalloc.h" | 19 | #include "xmalloc.h" |
20 | #include "rsa.h" | 20 | #include "rsa.h" |
@@ -262,21 +262,6 @@ key_regeneration_alarm(int sig) | |||
262 | errno = save_errno; | 262 | errno = save_errno; |
263 | } | 263 | } |
264 | 264 | ||
265 | char * | ||
266 | chop(char *s) | ||
267 | { | ||
268 | char *t = s; | ||
269 | while (*t) { | ||
270 | if(*t == '\n' || *t == '\r') { | ||
271 | *t = '\0'; | ||
272 | return s; | ||
273 | } | ||
274 | t++; | ||
275 | } | ||
276 | return s; | ||
277 | |||
278 | } | ||
279 | |||
280 | void | 265 | void |
281 | sshd_exchange_identification(int sock_in, int sock_out) | 266 | sshd_exchange_identification(int sock_in, int sock_out) |
282 | { | 267 | { |