summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 23:16:32 +1100
committerDamien Miller <djm@mindrot.org>2002-01-22 23:16:32 +1100
commitdff5099f13e2e679b93d3cfe7073c9cd92b19b06 (patch)
treef80cf1916ad026e5550e61da139e52899fa04629 /sshd.c
parent76e1e368b561cabeb55c21dc205c3f6805179ad5 (diff)
- markus@cvs.openbsd.org 2001/12/28 14:50:54
[auth1.c auth-rsa.c channels.c dispatch.c kex.c kexdh.c kexgex.c packet.c packet.h serverloop.c session.c ssh.c sshconnect1.c sshconnect2.c sshd.c] packet_read* no longer return the packet length, since it's not used.
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sshd.c b/sshd.c
index 39b58a43e..d86e683b1 100644
--- a/sshd.c
+++ b/sshd.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: sshd.c,v 1.221 2001/12/28 13:57:33 markus Exp $"); 43RCSID("$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
1251do_ssh1_kex(void) 1251do_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();