diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 6 |
1 files changed, 3 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.220 2001/12/28 12:14:27 markus Exp $"); | 43 | RCSID("$OpenBSD: sshd.c,v 1.221 2001/12/28 13:57:33 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,7 @@ 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, slen; | 1254 | int plen; |
1255 | int rsafail = 0; | 1255 | int rsafail = 0; |
1256 | BIGNUM *session_key_int; | 1256 | BIGNUM *session_key_int; |
1257 | u_char session_key[SSH_SESSION_KEY_LENGTH]; | 1257 | u_char session_key[SSH_SESSION_KEY_LENGTH]; |
@@ -1354,7 +1354,7 @@ do_ssh1_kex(void) | |||
1354 | /* Get the encrypted integer. */ | 1354 | /* Get the encrypted integer. */ |
1355 | if ((session_key_int = BN_new()) == NULL) | 1355 | if ((session_key_int = BN_new()) == NULL) |
1356 | fatal("do_ssh1_kex: BN_new failed"); | 1356 | fatal("do_ssh1_kex: BN_new failed"); |
1357 | packet_get_bignum(session_key_int, &slen); | 1357 | packet_get_bignum(session_key_int); |
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); |