mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-26 20:02:13 +00:00
- deraadt@cvs.openbsd.org 2001/02/19 23:09:05
[sshd.c] clarify message to make it not mention "ident"
This commit is contained in:
parent
4ffaad8c33
commit
a9a29e1bed
@ -1,6 +1,10 @@
|
||||
20010220
|
||||
- (bal) Fix mixed up params to memmove() from Jan 5th in setenv.c and
|
||||
getcwd.c.
|
||||
- (bal) OpenBSD CVS Sync:
|
||||
- deraadt@cvs.openbsd.org 2001/02/19 23:09:05
|
||||
[sshd.c]
|
||||
clarify message to make it not mention "ident"
|
||||
|
||||
20010219
|
||||
- (bal) Markus' blessing to rename login.[ch] -> sshlogin.[ch] and
|
||||
@ -4074,4 +4078,4 @@
|
||||
- Wrote replacements for strlcpy and mkdtemp
|
||||
- Released 1.0pre1
|
||||
|
||||
$Id: ChangeLog,v 1.804 2001/02/19 19:54:43 mouring Exp $
|
||||
$Id: ChangeLog,v 1.805 2001/02/20 01:20:47 mouring Exp $
|
||||
|
5
sshd.c
5
sshd.c
@ -40,7 +40,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
RCSID("$OpenBSD: sshd.c,v 1.167 2001/02/12 23:26:20 markus Exp $");
|
||||
RCSID("$OpenBSD: sshd.c,v 1.168 2001/02/19 23:09:05 deraadt Exp $");
|
||||
|
||||
#include <openssl/dh.h>
|
||||
#include <openssl/bn.h>
|
||||
@ -328,7 +328,8 @@ sshd_exchange_identification(int sock_in, int sock_out)
|
||||
memset(buf, 0, sizeof(buf));
|
||||
for (i = 0; i < sizeof(buf) - 1; i++) {
|
||||
if (atomicio(read, sock_in, &buf[i], 1) != 1) {
|
||||
log("Did not receive ident string from %s.", get_remote_ipaddr());
|
||||
log("Did not receive identification string from %s.",
|
||||
get_remote_ipaddr());
|
||||
fatal_cleanup();
|
||||
}
|
||||
if (buf[i] == '\r') {
|
||||
|
Loading…
Reference in New Issue
Block a user