* svr_principal.c (kadm5_setkey_principal_3): Apply patch from
Emily Ratliff to allow n_ks_tuple to be zero, which is the case if
being called from kadmind answering a client's setkey_principal
request.
ticket: 1008
target_version: 1.3
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14978
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-11-07 Tom Yu <tlyu@mit.edu>
+
+ * svr_principal.c (kadm5_setkey_principal_3): Apply patch from
+ Emily Ratliff to allow n_ks_tuple to be zero, which is the case if
+ being called from kadmind answering a client's setkey_principal
+ request.
+
2002-10-15 Ezra Peisach <epeisach@bu.edu>
* server_init.c (kadm5_lock, kadm5_unlock): Return KADM5_OK
}
}
- if (n_ks_tuple != n_keys)
+ if (n_ks_tuple && n_ks_tuple != n_keys)
return KADM5_SETKEY3_ETYPE_MISMATCH;
if ((ret = kdb_get_entry(handle, principal, &kdb, &adb)))