diff options
author | Damien Miller <djm@mindrot.org> | 2002-01-22 23:11:38 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-01-22 23:11:38 +1100 |
commit | 66823cddbe80d1d22ac44d503b8c121f071e7105 (patch) | |
tree | f08715640b009f1db31f07e73a15a627496c2d79 /sshd.c | |
parent | d221ca6cc96082a27ae9b4a7a0600d8ac8b1b2d7 (diff) |
- markus@cvs.openbsd.org 2001/12/27 20:39:58
[auth1.c auth-rsa.c channels.c clientloop.c packet.c packet.h serverloop.c session.c ssh.c sshconnect1.c sshd.c ttymodes.c]
get rid of packet_integrity_check, use packet_done() instead.
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: sshd.c,v 1.218 2001/12/27 18:22:16 markus Exp $"); | 43 | RCSID("$OpenBSD: sshd.c,v 1.219 2001/12/27 20:39:58 markus Exp $"); |
44 | 44 | ||
45 | #include <openssl/dh.h> | 45 | #include <openssl/dh.h> |
46 | #include <openssl/bn.h> | 46 | #include <openssl/bn.h> |
@@ -1358,8 +1358,7 @@ do_ssh1_kex(void) | |||
1358 | 1358 | ||
1359 | protocol_flags = packet_get_int(); | 1359 | protocol_flags = packet_get_int(); |
1360 | packet_set_protocol_flags(protocol_flags); | 1360 | packet_set_protocol_flags(protocol_flags); |
1361 | 1361 | packet_done(); | |
1362 | packet_integrity_check(plen, 1 + 8 + slen + 4, SSH_CMSG_SESSION_KEY); | ||
1363 | 1362 | ||
1364 | /* | 1363 | /* |
1365 | * Decrypt it using our private server key and private host key (key | 1364 | * Decrypt it using our private server key and private host key (key |