summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1993-09-22 00:43:22 +0000
committerTheodore Tso <tytso@mit.edu>1993-09-22 00:43:22 +0000
commit46bf914e3e87c0a3adaaa7ee06f839878619c1a7 (patch)
tree1ba3a812f2a52fc37dd216fc7737290244709fd4 /src/include
parent9079b678ee660ccdae6a129dc3e6adbb47fea756 (diff)
downloadkrb5-46bf914e3e87c0a3adaaa7ee06f839878619c1a7.tar.gz
krb5-46bf914e3e87c0a3adaaa7ee06f839878619c1a7.tar.xz
krb5-46bf914e3e87c0a3adaaa7ee06f839878619c1a7.zip
Merged in ISI's modified CRED-INFO patches
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2647 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/krb5.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/include/krb5/krb5.h b/src/include/krb5/krb5.h
index c7c082cc96..15a4bddcc7 100644
--- a/src/include/krb5/krb5.h
+++ b/src/include/krb5/krb5.h
@@ -47,7 +47,8 @@
/* Time set */
typedef struct _krb5_ticket_times {
- krb5_timestamp authtime;
+ krb5_timestamp authtime; /* XXX ? should ktime in KDC_REP == authtime
+ in ticket? otherwise client can't get this */
krb5_timestamp starttime; /* optional in ticket, if not present,
use authtime */
krb5_timestamp endtime;
@@ -245,24 +246,24 @@ typedef struct _krb5_cred {
krb5_enc_data enc_part; /* encrypted part */
} krb5_cred;
-typedef struct _krb5_cred_enc_struct {
+typedef struct _krb5_cred_info {
krb5_keyblock* session; /* session key used to encrypt */
/* ticket */
- krb5_int32 nonce; /* nonce, optional */
- krb5_timestamp timestamp; /* client time */
- krb5_int32 usec; /* microsecond portion of time */
- krb5_address *s_address; /* sender address, optional */
- krb5_address *r_address; /* recipient address, optional */
krb5_principal client; /* client name/realm, optional */
krb5_principal server; /* server name/realm, optional */
krb5_flags flags; /* ticket flags, optional */
krb5_ticket_times times; /* auth, start, end, renew_till, */
/* optional */
krb5_address **caddrs; /* array of ptrs to addresses */
-} krb5_cred_enc_struct;
+} krb5_cred_info;
typedef struct _krb5_cred_enc_part {
- krb5_cred_enc_struct **creds;
+ krb5_int32 nonce; /* nonce, optional */
+ krb5_timestamp timestamp; /* client time */
+ krb5_int32 usec; /* microsecond portion of time */
+ krb5_address *s_address; /* sender address, optional */
+ krb5_address *r_address; /* recipient address, optional */
+ krb5_cred_info **ticket_info;
} krb5_cred_enc_part;
/* these need to be here so the typedefs are available for the prototypes */