* func-proto.h Added krb5_keytype arg to rb5_rdreq_key_proc
authorChris Provenzano <proven@mit.edu>
Thu, 2 Feb 1995 03:38:45 +0000 (03:38 +0000)
committerChris Provenzano <proven@mit.edu>
Thu, 2 Feb 1995 03:38:45 +0000 (03:38 +0000)
* 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
src/include/krb5/func-proto.h
src/include/krb5/krb5.h

index c96d3be7e325b89238977717871f0d4e8f357132..cbbef050ee5b3d19074176a42afde8ef4682d7c7 100644 (file)
@@ -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.
index 933fe1162235ebf82918bc81d38a04b702764395..a8d2cf580ba363bf9ec961932c02333859d284a1 100644 (file)
@@ -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
index 1502819615f9cb9281f0f72a677f9408aa7b5fc7..c5feedecfaba29f1307e02f87946a9e71523460c 100644 (file)
 
 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>