summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--radix.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/radix.c b/radix.c
index 85ca9c329..019d7a3f9 100644
--- a/radix.c
+++ b/radix.c
@@ -26,7 +26,7 @@
26#include "includes.h" 26#include "includes.h"
27#include "uuencode.h" 27#include "uuencode.h"
28 28
29RCSID("$OpenBSD: radix.c,v 1.19 2002/04/22 06:15:47 markus Exp $"); 29RCSID("$OpenBSD: radix.c,v 1.20 2002/04/23 12:58:26 markus Exp $");
30 30
31#ifdef AFS 31#ifdef AFS
32#include <krb.h> 32#include <krb.h>
@@ -65,8 +65,7 @@ creds_to_radix(CREDENTIALS *creds, u_char *buf, size_t buflen)
65 buffer_put_short(&b, creds->kvno); 65 buffer_put_short(&b, creds->kvno);
66 66
67 /* 32 bit size + data */ 67 /* 32 bit size + data */
68 buffer_put_string(&b, creds->ticket_st.dat, 68 buffer_put_string(&b, creds->ticket_st.dat, creds->ticket_st.length);
69 sizeof(creds->ticket_st.length));
70 69
71 ret = uuencode(buffer_ptr(&b), buffer_len(&b), (char *)buf, buflen); 70 ret = uuencode(buffer_ptr(&b), buffer_len(&b), (char *)buf, buflen);
72 71