svn rev #24085: trunk/src/kadmin/dbutil/

ghudson@MIT.EDU ghudson at MIT.EDU
Fri May 21 15:29:04 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24085
Commit By: ghudson
Log Message:
Remove a non-functional and unnecessary check in kdb5_util's
master_key_convert().  (key_data->key_data_length is an array, so its
address is never null.)



Changed Files:
U   trunk/src/kadmin/dbutil/dump.c
Modified: trunk/src/kadmin/dbutil/dump.c
===================================================================
--- trunk/src/kadmin/dbutil/dump.c	2010-05-21 19:23:21 UTC (rev 24084)
+++ trunk/src/kadmin/dbutil/dump.c	2010-05-21 19:29:04 UTC (rev 24085)
@@ -299,8 +299,6 @@
             krb5_keyblock   *tmp_mkey;
 
             key_data = &db_entry->key_data[i];
-            if (key_data->key_data_length == 0)
-                continue;
             retval = krb5_dbe_find_mkey(context, master_keylist, db_entry, &tmp_mkey);
             if (retval)
                 return retval;




More information about the cvs-krb5 mailing list