summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-02-20 01:20:47 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-02-20 01:20:47 +0000
commita9a29e1bed94142db9699aeda271202543925317 (patch)
tree35e394a933d95aa02d4eb3a4b377744abded0560 /sshd.c
parent4ffaad8c33eea799dc843f5b07cca7c433ea0b6d (diff)
- deraadt@cvs.openbsd.org 2001/02/19 23:09:05
[sshd.c] clarify message to make it not mention "ident"
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sshd.c b/sshd.c
index 62e83d2df..bd90d0e56 100644
--- a/sshd.c
+++ b/sshd.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: sshd.c,v 1.167 2001/02/12 23:26:20 markus Exp $"); 43RCSID("$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') {