From: Greg Hudson Date: Fri, 21 May 2010 19:29:04 +0000 (+0000) Subject: Remove a non-functional and unnecessary check in kdb5_util's X-Git-Tag: krb5-1.9-beta1~216 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a11dfebfb25dc1e0ae4e6727de9915e455da947c;p=krb5.git 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.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24085 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/dbutil/dump.c b/src/kadmin/dbutil/dump.c index 78331932f..d0495e4cf 100644 --- a/src/kadmin/dbutil/dump.c +++ b/src/kadmin/dbutil/dump.c @@ -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;