From: Theodore Tso Date: Sat, 24 Dec 1994 03:55:32 +0000 (+0000) Subject: Add a enc_part2 member to the krb5_cred structure which may point to the X-Git-Tag: krb5-1.0-beta5~903 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e7f8bf49a6cd592688b7ab1a35f8cbe063d04436;p=krb5.git Add a enc_part2 member to the krb5_cred structure which may point to the unecrypted version, if it's available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4750 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index 9060d62f8..2fcaaf41b 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,8 @@ +Fri Dec 23 22:29:43 1994 Theodore Y. Ts'o (tytso@dcl) + + * krb5.h (krb5_cred): Add enc_part2 member which may point to the + unecrypted version, if it's available. + Mon Dec 19 21:53:33 1994 Theodore Y. Ts'o (tytso@dcl) * krb5.h (krb5_context): Add new typdef for krb5_context. diff --git a/src/include/krb5/krb5.h b/src/include/krb5/krb5.h index 90c7ad10c..fccbd9213 100644 --- a/src/include/krb5/krb5.h +++ b/src/include/krb5/krb5.h @@ -265,12 +265,6 @@ typedef struct _krb5_priv_enc_part { krb5_address *r_address; /* recipient address, optional */ } krb5_priv_enc_part; -typedef struct _krb5_cred { - krb5_magic magic; - krb5_ticket **tickets; /* tickets */ - krb5_enc_data enc_part; /* encrypted part */ -} krb5_cred; - typedef struct _krb5_cred_info { krb5_magic magic; krb5_keyblock* session; /* session key used to encrypt */ @@ -293,6 +287,13 @@ typedef struct _krb5_cred_enc_part { krb5_cred_info **ticket_info; } krb5_cred_enc_part; +typedef struct _krb5_cred { + krb5_magic magic; + krb5_ticket **tickets; /* tickets */ + krb5_enc_data enc_part; /* encrypted part */ + krb5_cred_enc_part *enc_part2; /* unencrypted version, if available*/ +} krb5_cred; + /* these need to be here so the typedefs are available for the prototypes */ #include #include