summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/auth1.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/auth1.c
parentcc4a031a6a5485bc088a7d543c64301eee1ecb0e (diff)
packet_read* no longer return the packet length, since it's not used.
Diffstat (limited to 'usr.bin/ssh/auth1.c')
-rw-r--r--usr.bin/ssh/auth1.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/ssh/auth1.c b/usr.bin/ssh/auth1.c
index 784e8220cb9..f39aba28637 100644
--- a/usr.bin/ssh/auth1.c
+++ b/usr.bin/ssh/auth1.c
@@ -10,7 +10,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth1.c,v 1.33 2001/12/28 13:57:33 markus Exp $");
+RCSID("$OpenBSD: auth1.c,v 1.34 2001/12/28 14:50:54 markus Exp $");
#include "xmalloc.h"
#include "rsa.h"
@@ -71,7 +71,6 @@ do_authloop(Authctxt *authctxt)
char *client_user, *password;
char info[1024];
u_int dlen;
- int plen;
u_int ulen;
int type = 0;
struct passwd *pw = authctxt->pw;
@@ -101,7 +100,7 @@ do_authloop(Authctxt *authctxt)
info[0] = '\0';
/* Get a packet from the client. */
- type = packet_read(&plen);
+ type = packet_read();
/* Process the packet. */
switch (type) {
@@ -323,12 +322,11 @@ do_authentication(void)
{
Authctxt *authctxt;
struct passwd *pw;
- int plen;
u_int ulen;
char *p, *user, *style = NULL;
/* Get the name of the user that we wish to log in as. */
- packet_read_expect(&plen, SSH_CMSG_USER);
+ packet_read_expect(SSH_CMSG_USER);
/* Get the user name. */
user = packet_get_string(&ulen);