Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/ssh 64bit issue; reported by Havard Eidnes and J...



details:   https://anonhg.NetBSD.org/src/rev/65f35646e2f7
branches:  trunk
changeset: 547231:65f35646e2f7
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu May 15 14:10:24 2003 +0000

description:
64bit issue; reported by Havard Eidnes and Juergen Hannken-Illjes, sync w/
openssh master tree

diffstat:

 crypto/dist/ssh/auth2-krb5.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r adb713345fbf -r 65f35646e2f7 crypto/dist/ssh/auth2-krb5.c
--- a/crypto/dist/ssh/auth2-krb5.c      Thu May 15 14:02:37 2003 +0000
+++ b/crypto/dist/ssh/auth2-krb5.c      Thu May 15 14:10:24 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: auth2-krb5.c,v 1.1.1.1 2003/05/14 18:12:50 itojun Exp $        */
+/*     $NetBSD: auth2-krb5.c,v 1.2 2003/05/15 14:10:24 itojun Exp $    */
 /*
  * Copyright (c) 2003 Markus Friedl.  All rights reserved.
  *
@@ -24,7 +24,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 $");
 
 #include <krb5.h>
 
@@ -43,10 +43,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))) {



Home | Main Index | Thread Index | Old Index