- markus@cvs.openbsd.org 2003/05/15 14:09:21
[auth2-krb5.c]
fix 64bit issue; report itojun@
diff --git a/auth2-krb5.c b/auth2-krb5.c
index b4ff16b..8a18a60 100644
--- a/auth2-krb5.c
+++ b/auth2-krb5.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth2-krb5.c,v 1.1 2003/05/14 02:15:47 markus Exp $");
+RCSID("$OpenBSD: auth2-krb5.c,v 1.2 2003/05/15 14:09:21 markus Exp $");
#ifdef KRB5
@@ -44,10 +44,12 @@
userauth_kerberos(Authctxt *authctxt)
{
krb5_data tkt, reply;
+ u_int dlen;
char *client = NULL;
int authenticated = 0;
- tkt.data = packet_get_string(&tkt.length);
+ tkt.data = packet_get_string(&dlen);
+ tkt.length = dlen;
packet_check_eom();
if (PRIVSEP(auth_krb5(authctxt, &tkt, &client, &reply))) {