summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
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';