summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-21 13:23:52 +1100
committerDamien Miller <djm@mindrot.org>1999-11-21 13:23:52 +1100
commit6162d1215bbff30cf0c4c19368dc85ae570d44ca (patch)
treef82956b4429cad04a2296a1ede65e147bafb92f4 /sshconnect.c
parentf58db38f8d396ee5ea42975d9409a644e01cede8 (diff)
- OpenBSD CVS Changes
- [channels.c] make this compile, bad markus - [log.c readconf.c servconf.c ssh.h] bugfix: loglevels are per host in clientconfig, factor out common log-level parsing code. - [servconf.c] remove unused index (-Wall) - [ssh-agent.c] only one 'extern char *__progname' - [sshd.8] document SIGHUP, -Q to synopsis - [sshconnect.c serverloop.c sshd.c packet.c packet.h] [channels.c clientloop.c] SSH_CMSG_MAX_PACKET_SIZE, some clients use this, some need this, niels@ [hope this time my ISP stays alive during commit]
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 8b7737446..fba389d8b 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -15,7 +15,7 @@ login (authentication) dialog.
15*/ 15*/
16 16
17#include "includes.h" 17#include "includes.h"
18RCSID("$Id: sshconnect.c,v 1.12 1999/11/18 21:25:48 damien Exp $"); 18RCSID("$Id: sshconnect.c,v 1.13 1999/11/21 02:23:53 damien Exp $");
19 19
20#ifdef HAVE_OPENSSL 20#ifdef HAVE_OPENSSL
21#include <openssl/bn.h> 21#include <openssl/bn.h>
@@ -906,7 +906,7 @@ void ssh_exchange_identification()
906 for (i = 0; i < sizeof(buf) - 1; i++) 906 for (i = 0; i < sizeof(buf) - 1; i++)
907 { 907 {
908 if (read(connection_in, &buf[i], 1) != 1) 908 if (read(connection_in, &buf[i], 1) != 1)
909 fatal("read: %.100s", strerror(errno)); 909 fatal("ssh_exchange_identification: read: %.100s", strerror(errno));
910 if (buf[i] == '\r') 910 if (buf[i] == '\r')
911 { 911 {
912 buf[i] = '\n'; 912 buf[i] = '\n';