[1180] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

krb5b4pl3: lib/krb5/{ccache/ccbase.c,keytab/ktbase.c}: update comments

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Tue Mar 14 21:34:48 1995

From: "Jonathan I. Kamens" <jik@cam.ov.com>
Date: Tue, 14 Mar 1995 21:37:53 -0500
To: krb5-bugs@MIT.EDU

The code in these two files was updated, but the comments weren't.

--- lib/krb5/ccache/ccbase.c	1995/02/27 02:18:36	1.1
+++ lib/krb5/ccache/ccbase.c	1995/02/27 02:21:34
@@ -68,11 +68,12 @@
 /*
  * Resolve a credential cache name into a cred. cache object.
  *
- * The name is currently constrained to be of the form "type:residual";
+ * The name is of the form "[type:]residual";
  *
- * The "type" portion corresponds to one of the predefined credential
+ * The "type" portion corresponds to one of the redigstered credential
  * cache types, while the "residual" portion is specific to the
- * particular cache type.
+ * particular cache type.  If the "type" is not specified, the type of
+ * krb5_cc_dfl_ops is used. 
  */
 
 krb5_error_code krb5_cc_resolve (name, cache)
--- lib/krb5/keytab/ktbase.c	1995/02/27 02:51:57	1.1
+++ lib/krb5/keytab/ktbase.c	1995/02/27 02:52:55
@@ -62,11 +62,13 @@
 /*
  * Resolve a key table name into a keytab object.
  *
- * The name is currently constrained to be of the form "type:residual";
- *
+ * The name is of the form "[type:]residual".
+ * 
  * The "type" portion corresponds to one of the registered key table
  * types, while the "residual" portion is specific to the
- * particular keytab type.
+ * particular keytab type.  The "type" is not specified, the type of
+ * krb5_defkeyname is used; if krb5_defkeyname also doesn't have a
+ * type, the type of krb5_kt_dfl_ops is used.
  */
 
 krb5_error_code krb5_kt_resolve (name, ktid)

home help back first fref pref prev next nref lref last post