diff options
author | assar <assar@FreeBSD.org> | 2001-03-12 08:14:22 +0000 |
---|---|---|
committer | assar <assar@FreeBSD.org> | 2001-03-12 08:14:22 +0000 |
commit | 07c5543bb1ea54b329953bb40405fb63364c8a09 (patch) | |
tree | e978875044b5b8633c07506b7d63856bcff49e74 /crypto/openssh | |
parent | b38db8f922e001ed8bc9ee6e5d8d64cd953afdca (diff) | |
download | FreeBSD-src-07c5543bb1ea54b329953bb40405fb63364c8a09.zip FreeBSD-src-07c5543bb1ea54b329953bb40405fb63364c8a09.tar.gz |
Fix LP64 problem in Kerberos 5 TGT passing.
Obtained from: NetBSD (done by thorpej@netbsd.org)
Diffstat (limited to 'crypto/openssh')
-rw-r--r-- | crypto/openssh/auth1.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/openssh/auth1.c b/crypto/openssh/auth1.c index 3c0e2b6..b5d3bd8 100644 --- a/crypto/openssh/auth1.c +++ b/crypto/openssh/auth1.c @@ -397,7 +397,9 @@ do_authloop(struct passwd * pw, char *luser) { krb5_data tgt; - tgt.data = packet_get_string(&tgt.length); + u_int tgtlen; + tgt.data = packet_get_string(&tgtlen); + tgt.length = tgtlen; if (!auth_krb5_tgt(luser, &tgt, tkt_client)) verbose ("Kerberos V5 TGT refused for %.100s", luser); |