summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sshd.c b/sshd.c
index b2ed51e24..22ea8990e 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.207 2001/10/24 08:41:41 markus Exp $"); 43RCSID("$OpenBSD: sshd.c,v 1.208 2001/11/09 19:08:35 markus Exp $");
44 44
45#include <openssl/dh.h> 45#include <openssl/dh.h>
46#include <openssl/bn.h> 46#include <openssl/bn.h>
@@ -337,7 +337,7 @@ sshd_exchange_identification(int sock_in, int sock_out)
337 /* Send our protocol version identification. */ 337 /* Send our protocol version identification. */
338 if (atomicio(write, sock_out, server_version_string, strlen(server_version_string)) 338 if (atomicio(write, sock_out, server_version_string, strlen(server_version_string))
339 != strlen(server_version_string)) { 339 != strlen(server_version_string)) {
340 log("Could not write ident string to %s.", get_remote_ipaddr()); 340 log("Could not write ident string to %s", get_remote_ipaddr());
341 fatal_cleanup(); 341 fatal_cleanup();
342 } 342 }
343 343
@@ -345,7 +345,7 @@ sshd_exchange_identification(int sock_in, int sock_out)
345 memset(buf, 0, sizeof(buf)); 345 memset(buf, 0, sizeof(buf));
346 for (i = 0; i < sizeof(buf) - 1; i++) { 346 for (i = 0; i < sizeof(buf) - 1; i++) {
347 if (atomicio(read, sock_in, &buf[i], 1) != 1) { 347 if (atomicio(read, sock_in, &buf[i], 1) != 1) {
348 log("Did not receive identification string from %s.", 348 log("Did not receive identification string from %s",
349 get_remote_ipaddr()); 349 get_remote_ipaddr());
350 fatal_cleanup(); 350 fatal_cleanup();
351 } 351 }