Remove a non-functional and unnecessary check in kdb5_util's
authorGreg Hudson <ghudson@mit.edu>
Fri, 21 May 2010 19:29:04 +0000 (19:29 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 21 May 2010 19:29:04 +0000 (19:29 +0000)
master_key_convert().  (key_data->key_data_length is an array, so its
address is never null.)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24085 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/dbutil/dump.c

index 78331932f44fb42afa357bc56f2d99967d8a5ca4..d0495e4cf56d1bbba4e5f361f32b41e135476e23 100644 (file)
@@ -299,8 +299,6 @@ krb5_error_code master_key_convert(context, db_entry)
             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;