diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "includes.h" | 44 | #include "includes.h" |
45 | RCSID("$OpenBSD: sshd.c,v 1.242 2002/05/15 15:47:49 mouring Exp $"); | 45 | RCSID("$OpenBSD: sshd.c,v 1.243 2002/05/22 23:18:25 deraadt Exp $"); |
46 | 46 | ||
47 | #include <openssl/dh.h> | 47 | #include <openssl/dh.h> |
48 | #include <openssl/bn.h> | 48 | #include <openssl/bn.h> |
@@ -378,7 +378,7 @@ sshd_exchange_identification(int sock_in, int sock_out) | |||
378 | fatal_cleanup(); | 378 | fatal_cleanup(); |
379 | } | 379 | } |
380 | 380 | ||
381 | /* Read other side's version identification. */ | 381 | /* Read other sides version identification. */ |
382 | memset(buf, 0, sizeof(buf)); | 382 | memset(buf, 0, sizeof(buf)); |
383 | for (i = 0; i < sizeof(buf) - 1; i++) { | 383 | for (i = 0; i < sizeof(buf) - 1; i++) { |
384 | if (atomicio(read, sock_in, &buf[i], 1) != 1) { | 384 | if (atomicio(read, sock_in, &buf[i], 1) != 1) { |
@@ -1417,7 +1417,7 @@ main(int ac, char **av) | |||
1417 | sshd_exchange_identification(sock_in, sock_out); | 1417 | sshd_exchange_identification(sock_in, sock_out); |
1418 | /* | 1418 | /* |
1419 | * Check that the connection comes from a privileged port. | 1419 | * Check that the connection comes from a privileged port. |
1420 | * Rhosts-Authentication only makes sense from priviledged | 1420 | * Rhosts-Authentication only makes sense from privileged |
1421 | * programs. Of course, if the intruder has root access on his local | 1421 | * programs. Of course, if the intruder has root access on his local |
1422 | * machine, he can connect from any port. So do not use these | 1422 | * machine, he can connect from any port. So do not use these |
1423 | * authentication methods from machines that you do not trust. | 1423 | * authentication methods from machines that you do not trust. |
@@ -1727,7 +1727,7 @@ do_ssh1_kex(void) | |||
1727 | 1727 | ||
1728 | debug("Received session key; encryption turned on."); | 1728 | debug("Received session key; encryption turned on."); |
1729 | 1729 | ||
1730 | /* Send an acknowledgement packet. Note that this packet is sent encrypted. */ | 1730 | /* Send an acknowledgment packet. Note that this packet is sent encrypted. */ |
1731 | packet_start(SSH_SMSG_SUCCESS); | 1731 | packet_start(SSH_SMSG_SUCCESS); |
1732 | packet_send(); | 1732 | packet_send(); |
1733 | packet_write_wait(); | 1733 | packet_write_wait(); |