From ce3d48500742df4f62cacd6fd9deb1bdd3b9ba37 Mon Sep 17 00:00:00 2001 From: Chris Provenzano Date: Thu, 2 Feb 1995 03:38:45 +0000 Subject: [PATCH] * func-proto.h Added krb5_keytype arg to rb5_rdreq_key_proc * func-proto.h (krb5_send_tgs()) Changed krb5_enctype arg to krb5_enctype *, a NULL terminated array of encryption types. * func-proto.h Added prototypes for krb5_get_for_creds(), krb5_set_default_in_tkt_etypes(), and krb5_get_default_in_tkt_etypes(). * krb5.h Added fields to krb5_context to support default etypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4872 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 13 +++++++++++++ src/include/krb5/func-proto.h | 18 +++++++++++++++++- src/include/krb5/krb5.h | 6 ++++-- 3 files changed, 34 insertions(+), 3 deletions(-) diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index c96d3be7e..cbbef050e 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,16 @@ +Mon Jan 30 15:43:19 1995 Chris Provenzano (proven@mit.edu) + + * func-proto.h Added krb5_keytype arg to rb5_rdreq_key_proc. + + * func-proto.h (krb5_send_tgs()) Changed krb5_enctype arg to + krb5_enctype *, a NULL terminated array of encryption types. + + * func-proto.h Added prototypes for krb5_get_for_creds(), + krb5_set_default_in_tkt_etypes(), and + krb5_get_default_in_tkt_etypes(). + + * krb5.h Added fields to krb5_context to support default etypes. + Fri Jan 27 00:56:12 1995 Chris Provenzano (proven@mit.edu) * func-proto.h (krb5_kt_read_service_key()) Added krb5_keytype arg. diff --git a/src/include/krb5/func-proto.h b/src/include/krb5/func-proto.h index 933fe1162..a8d2cf580 100644 --- a/src/include/krb5/func-proto.h +++ b/src/include/krb5/func-proto.h @@ -32,6 +32,13 @@ krb5_error_code krb5_init_context void krb5_free_context PROTOTYPE((krb5_context)); +krb5_error_code krb5_set_default_in_tkt_etypes + PROTOTYPE((krb5_context, + const krb5_enctype *)); +krb5_error_code krb5_get_default_in_tkt_etypes + PROTOTYPE((krb5_context, + krb5_enctype **)); + /* This is a hack to find what needs fixing later, when we've all forgotten which rotuines still need fixing */ extern krb5_context global_context; @@ -73,6 +80,14 @@ krb5_error_code krb5_get_credentials const krb5_flags, krb5_ccache, krb5_creds * )); +krb5_error_code krb5_get_for_creds + PROTOTYPE((krb5_context, + const krb5_cksumtype, + char *, + krb5_principal, + krb5_keyblock *, + int, + krb5_data * )); krb5_error_code krb5_mk_req PROTOTYPE((krb5_context, krb5_const_principal, @@ -408,7 +423,7 @@ krb5_error_code krb5_send_tgs PROTOTYPE((krb5_context, const krb5_flags, const krb5_ticket_times *, - const krb5_enctype, + const krb5_enctype *, const krb5_cksumtype, krb5_const_principal, krb5_address * const *, @@ -475,6 +490,7 @@ typedef krb5_error_code (*krb5_rdreq_key_proc) PROTOTYPE((krb5_context, krb5_pointer, krb5_principal, krb5_kvno, + krb5_keytype, krb5_keyblock **)); krb5_error_code krb5_rd_req diff --git a/src/include/krb5/krb5.h b/src/include/krb5/krb5.h index 150281961..c5feedecf 100644 --- a/src/include/krb5/krb5.h +++ b/src/include/krb5/krb5.h @@ -39,8 +39,10 @@ typedef struct _krb5_context { krb5_magic magic; - void *os_context; -} *krb5_context; + krb5_enctype * etypes; + int etype_count; + void * os_context; +} * krb5_context; #include #include -- 2.26.2