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 6b29e7094..473b31670 100644
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,7 @@
42 */ 42 */
43 43
44#include "includes.h" 44#include "includes.h"
45RCSID("$OpenBSD: sshd.c,v 1.248 2002/06/22 20:05:27 stevesk Exp $"); 45RCSID("$OpenBSD: sshd.c,v 1.249 2002/06/23 03:30:17 deraadt Exp $");
46 46
47#include <openssl/dh.h> 47#include <openssl/dh.h>
48#include <openssl/bn.h> 48#include <openssl/bn.h>
@@ -372,7 +372,8 @@ sshd_exchange_identification(int sock_in, int sock_out)
372 372
373 if (client_version_string == NULL) { 373 if (client_version_string == NULL) {
374 /* Send our protocol version identification. */ 374 /* Send our protocol version identification. */
375 if (atomicio(write, sock_out, server_version_string, strlen(server_version_string)) 375 if (atomicio(write, sock_out, server_version_string,
376 strlen(server_version_string))
376 != strlen(server_version_string)) { 377 != strlen(server_version_string)) {
377 log("Could not write ident string to %s", get_remote_ipaddr()); 378 log("Could not write ident string to %s", get_remote_ipaddr());
378 fatal_cleanup(); 379 fatal_cleanup();
@@ -475,7 +476,6 @@ sshd_exchange_identification(int sock_in, int sock_out)
475 } 476 }
476} 477}
477 478
478
479/* Destroy the host and server keys. They will no longer be needed. */ 479/* Destroy the host and server keys. They will no longer be needed. */
480void 480void
481destroy_sensitive_data(void) 481destroy_sensitive_data(void)