diff options
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.221 2001/12/28 13:57:33 markus Exp $"); | 43 | RCSID("$OpenBSD: sshd.c,v 1.222 2001/12/28 14:50:54 markus Exp $"); |
44 | 44 | ||
45 | #include <openssl/dh.h> | 45 | #include <openssl/dh.h> |
46 | #include <openssl/bn.h> | 46 | #include <openssl/bn.h> |
@@ -1251,7 +1251,6 @@ static void | |||
1251 | do_ssh1_kex(void) | 1251 | do_ssh1_kex(void) |
1252 | { | 1252 | { |
1253 | int i, len; | 1253 | int i, len; |
1254 | int plen; | ||
1255 | int rsafail = 0; | 1254 | int rsafail = 0; |
1256 | BIGNUM *session_key_int; | 1255 | BIGNUM *session_key_int; |
1257 | u_char session_key[SSH_SESSION_KEY_LENGTH]; | 1256 | u_char session_key[SSH_SESSION_KEY_LENGTH]; |
@@ -1335,7 +1334,7 @@ do_ssh1_kex(void) | |||
1335 | BN_num_bits(sensitive_data.ssh1_host_key->rsa->n)); | 1334 | BN_num_bits(sensitive_data.ssh1_host_key->rsa->n)); |
1336 | 1335 | ||
1337 | /* Read clients reply (cipher type and session key). */ | 1336 | /* Read clients reply (cipher type and session key). */ |
1338 | packet_read_expect(&plen, SSH_CMSG_SESSION_KEY); | 1337 | packet_read_expect(SSH_CMSG_SESSION_KEY); |
1339 | 1338 | ||
1340 | /* Get cipher type and check whether we accept this. */ | 1339 | /* Get cipher type and check whether we accept this. */ |
1341 | cipher_type = packet_get_char(); | 1340 | cipher_type = packet_get_char(); |