Source-Changes-HG archive

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

[src/trunk]: src/crypto/dist/ssh correct afs/kerberos token-passing. notifie...



details:   https://anonhg.NetBSD.org/src/rev/2767e05a039c
branches:  trunk
changeset: 526046:2767e05a039c
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Apr 24 01:48:04 2002 +0000

description:
correct afs/kerberos token-passing.  notified by markus@openbsd

diffstat:

 crypto/dist/ssh/radix.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r f95d03b3048d -r 2767e05a039c crypto/dist/ssh/radix.c
--- a/crypto/dist/ssh/radix.c   Wed Apr 24 01:40:25 2002 +0000
+++ b/crypto/dist/ssh/radix.c   Wed Apr 24 01:48:04 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radix.c,v 1.7 2002/04/22 07:59:42 itojun Exp $ */
+/*     $NetBSD: radix.c,v 1.8 2002/04/24 01:48:04 itojun Exp $ */
 /*
  * Copyright (c) 1999 Dug Song.  All rights reserved.
  * Copyright (c) 2002 Markus Friedl.  All rights reserved.
@@ -27,7 +27,7 @@
 #include "includes.h"
 #include "uuencode.h"
 
-RCSID("$OpenBSD: radix.c,v 1.19 2002/04/22 06:15:47 markus Exp $");
+RCSID("$OpenBSD: radix.c,v 1.20 2002/04/23 12:58:26 markus Exp $");
 
 #ifdef AFS
 #include <krb.h>
@@ -66,8 +66,7 @@
        buffer_put_short(&b, creds->kvno);
 
        /* 32 bit size + data */
-       buffer_put_string(&b, creds->ticket_st.dat,
-           sizeof(creds->ticket_st.length));
+       buffer_put_string(&b, creds->ticket_st.dat, creds->ticket_st.length);
 
        ret = uuencode(buffer_ptr(&b), buffer_len(&b), (char *)buf, buflen);
 



Home | Main Index | Thread Index | Old Index