summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshd.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-12-28 14:50:55 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-12-28 14:50:55 +0000
commit4e830a709244c3b3be467cad0930856464ec7ef5 (patch)
tree615724dd1cec2d64995374b0050b5dad698c1686 /usr.bin/ssh/sshd.c
parentcc4a031a6a5485bc088a7d543c64301eee1ecb0e (diff)
packet_read* no longer return the packet length, since it's not used.
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-rw-r--r--usr.bin/ssh/sshd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c
index 7059cdb472e..faaf2614e57 100644
--- a/usr.bin/ssh/sshd.c
+++ b/usr.bin/ssh/sshd.c
@@ -40,7 +40,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshd.c,v 1.221 2001/12/28 13:57:33 markus Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.222 2001/12/28 14:50:54 markus Exp $");
#include <openssl/dh.h>
#include <openssl/bn.h>
@@ -1218,7 +1218,6 @@ static void
do_ssh1_kex(void)
{
int i, len;
- int plen;
int rsafail = 0;
BIGNUM *session_key_int;
u_char session_key[SSH_SESSION_KEY_LENGTH];
@@ -1302,7 +1301,7 @@ do_ssh1_kex(void)
BN_num_bits(sensitive_data.ssh1_host_key->rsa->n));
/* Read clients reply (cipher type and session key). */
- packet_read_expect(&plen, SSH_CMSG_SESSION_KEY);
+ packet_read_expect(SSH_CMSG_SESSION_KEY);
/* Get cipher type and check whether we accept this. */
cipher_type = packet_get_char();