mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-25 23:05:21 +02:00
- markus@openbsd.org 2002/04/23 12:58:26
[radix.c] send complete ticket; semerad@ss1000.ms.mff.cuni.cz
This commit is contained in:
parent
f75fcc61f4
commit
435673dd20
5
radix.c
5
radix.c
@ -26,7 +26,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "uuencode.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
|
#ifdef AFS
|
||||||
#include <krb.h>
|
#include <krb.h>
|
||||||
@ -65,8 +65,7 @@ creds_to_radix(CREDENTIALS *creds, u_char *buf, size_t buflen)
|
|||||||
buffer_put_short(&b, creds->kvno);
|
buffer_put_short(&b, creds->kvno);
|
||||||
|
|
||||||
/* 32 bit size + data */
|
/* 32 bit size + data */
|
||||||
buffer_put_string(&b, creds->ticket_st.dat,
|
buffer_put_string(&b, creds->ticket_st.dat, creds->ticket_st.length);
|
||||||
sizeof(creds->ticket_st.length));
|
|
||||||
|
|
||||||
ret = uuencode(buffer_ptr(&b), buffer_len(&b), (char *)buf, buflen);
|
ret = uuencode(buffer_ptr(&b), buffer_len(&b), (char *)buf, buflen);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user