diff options
author | Theodore Tso <tytso@mit.edu> | 1996-05-14 08:41:32 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1996-05-14 08:41:32 +0000 |
commit | 278703869bc74db3c026e83e1e5768c5e92c8f0a (patch) | |
tree | a31299e938a04b60037cb38eba816a8fd2ff16f8 /src/lib/krb5/krb/auth_con.h | |
parent | 5b432f0d3c14f711e21dab3e1cb4a2179d6e8070 (diff) | |
download | krb5-278703869bc74db3c026e83e1e5768c5e92c8f0a.tar.gz krb5-278703869bc74db3c026e83e1e5768c5e92c8f0a.tar.xz krb5-278703869bc74db3c026e83e1e5768c5e92c8f0a.zip |
ser_ctx.c (krb5_context_size, krb5_context_externalize,
krb5_context_internalize): Add missing fields from the serialized
context: clockskew, default_kdc_req_sumtype, default_ap_req_sumtype,
default_safe_sumtype, kdc_default_options, library_options,
profile_secure, fcc_default_format, scc_default_format.
ser_actx.c (krb5_auth_context_size, krb5_auth_context_externalize,
krb5_auth_context_internalize): Serialize the two fields req_cksumtype
and safe_cksumtype, instead of the one cksumtype field.
mk_safe.c (krb_mk_safe): Use safe_cksumtype instead of cksumtype in
the auth context.
mk_req_ext.c (krb5_mk_req_extended): Use req_cksumtype instead of
cksumtype in the auth context.
init_ctx.c (krb5_init_context): Add support for new profile
relations libdefaults/tkt_lifetime, libdefaults/kdc_req_checksum_type,
libdefaults/ap_req_cksumtype, libdefaults/safe_checksumtype, and
libdefaults/kdc_default_options.
auth_con.h: Remove old cksumtype element, and replace it with
req_cksumtype and safe_cksumtype.
auth_con.c (krb5_auth_con_init): Initialize the req_cksumtype and
safe_cksumtype from the context's default req_cksumtype and
safe_cksumtype. (krb5_auth_con_set_req_cksumtype,
krb5_auth_con_set_safe_cksumtype): New functions, to replace old
krb5_auth_con_setcksumtype
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8017 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/auth_con.h')
-rw-r--r-- | src/lib/krb5/krb/auth_con.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/auth_con.h b/src/lib/krb5/krb/auth_con.h index 4fec7a690e..9d9df0e867 100644 --- a/src/lib/krb5/krb/auth_con.h +++ b/src/lib/krb5/krb/auth_con.h @@ -16,7 +16,8 @@ struct _krb5_auth_context { krb5_int32 remote_seq_number; krb5_int32 local_seq_number; krb5_authenticator *authentp; /* mk_req, rd_req, mk_rep, ...*/ - krb5_cksumtype cksumtype; /* mk_safe, ... */ + krb5_cksumtype req_cksumtype; /* mk_safe, ... */ + krb5_cksumtype safe_cksumtype; /* mk_safe, ... */ krb5_pointer i_vector; /* mk_priv, rd_priv only */ krb5_rcache rcache; }; |