(ret_principal_ent): set `n_tl_data'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4470 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -270,6 +270,7 @@ ret_principal_ent(krb5_storage *sp,
|
|||||||
}
|
}
|
||||||
if (mask & KADM5_TL_DATA) {
|
if (mask & KADM5_TL_DATA) {
|
||||||
krb5_ret_int32(sp, &tmp);
|
krb5_ret_int32(sp, &tmp);
|
||||||
|
princ->n_tl_data = tmp;
|
||||||
princ->tl_data = NULL;
|
princ->tl_data = NULL;
|
||||||
for(i = 0; i < princ->n_tl_data; i++){
|
for(i = 0; i < princ->n_tl_data; i++){
|
||||||
krb5_tl_data *tp = malloc(sizeof(*tp));
|
krb5_tl_data *tp = malloc(sizeof(*tp));
|
||||||
|
Reference in New Issue
Block a user