summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Provenzano <proven@mit.edu>1995-02-02 03:38:45 +0000
committerChris Provenzano <proven@mit.edu>1995-02-02 03:38:45 +0000
commitce3d48500742df4f62cacd6fd9deb1bdd3b9ba37 (patch)
tree310acd912c9ddff0cb0442c1a2b0cc996d672e2c
parent6fa643eb82fbcc3209c9884f700681206841d9ee (diff)
downloadkrb5-ce3d48500742df4f62cacd6fd9deb1bdd3b9ba37.tar.gz
krb5-ce3d48500742df4f62cacd6fd9deb1bdd3b9ba37.tar.xz
krb5-ce3d48500742df4f62cacd6fd9deb1bdd3b9ba37.zip
* 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
-rw-r--r--src/include/krb5/ChangeLog13
-rw-r--r--src/include/krb5/func-proto.h18
-rw-r--r--src/include/krb5/krb5.h6
3 files changed, 34 insertions, 3 deletions
diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog
index c96d3be7e3..cbbef050ee 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 933fe11622..a8d2cf580b 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 1502819615..c5feedecfa 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 <krb5/encryption.h>
#include <krb5/fieldbits.h>