svn rev #24972: trunk/src/include/

ghudson@MIT.EDU ghudson at MIT.EDU
Mon Jun 20 12:49:00 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=24972
Commit By: ghudson
Log Message:
Document that e_data can be used by KDB modules internally.


Changed Files:
U   trunk/src/include/kdb.h
Modified: trunk/src/include/kdb.h
===================================================================
--- trunk/src/include/kdb.h	2011-06-20 15:31:34 UTC (rev 24971)
+++ trunk/src/include/kdb.h	2011-06-20 16:49:00 UTC (rev 24972)
@@ -166,6 +166,15 @@
     krb5_data             data;                 /* Length, data */
 } krb5_keysalt;
 
+/*
+ * A principal database entry.  Extensions to this structure currently use the
+ * tl_data list.  The e_data and e_length fields are not used by any calling
+ * code except kdb5_util dump and load, which marshal and unmarshal the array
+ * in the dump record.  KDB modules may use these fields internally as long as
+ * they set e_length appropriately (non-zero if the data should be marshalled
+ * across dump and load, zero if not) and handle null e_data values in
+ * caller-constructed principal entries.
+ */
 typedef struct _krb5_db_entry_new {
     krb5_magic            magic;                /* NOT saved */
     krb5_ui_2             len;




More information about the cvs-krb5 mailing list