diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: sshd.c,v 1.167 2001/02/12 23:26:20 markus Exp $"); | 43 | RCSID("$OpenBSD: sshd.c,v 1.168 2001/02/19 23:09:05 deraadt Exp $"); |
44 | 44 | ||
45 | #include <openssl/dh.h> | 45 | #include <openssl/dh.h> |
46 | #include <openssl/bn.h> | 46 | #include <openssl/bn.h> |
@@ -328,7 +328,8 @@ sshd_exchange_identification(int sock_in, int sock_out) | |||
328 | memset(buf, 0, sizeof(buf)); | 328 | memset(buf, 0, sizeof(buf)); |
329 | for (i = 0; i < sizeof(buf) - 1; i++) { | 329 | for (i = 0; i < sizeof(buf) - 1; i++) { |
330 | if (atomicio(read, sock_in, &buf[i], 1) != 1) { | 330 | if (atomicio(read, sock_in, &buf[i], 1) != 1) { |
331 | log("Did not receive ident string from %s.", get_remote_ipaddr()); | 331 | log("Did not receive identification string from %s.", |
332 | get_remote_ipaddr()); | ||
332 | fatal_cleanup(); | 333 | fatal_cleanup(); |
333 | } | 334 | } |
334 | if (buf[i] == '\r') { | 335 | if (buf[i] == '\r') { |