(hdb_get_entry): Break out the that we request from principal from the
entry and pass it in as a seprate argument. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17307 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -218,8 +218,7 @@ hdb_get_entry(krb5_context context,
|
|||||||
(*db->hdb_destroy)(context, db);
|
(*db->hdb_destroy)(context, db);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
ent.entry.principal = rk_UNCONST(principal);
|
ret = (*db->hdb_fetch)(context, db, principal, HDB_F_DECRYPT, &ent);
|
||||||
ret = (*db->hdb_fetch)(context, db, HDB_F_DECRYPT, &ent);
|
|
||||||
(*db->hdb_close)(context, db);
|
(*db->hdb_close)(context, db);
|
||||||
(*db->hdb_destroy)(context, db);
|
(*db->hdb_destroy)(context, db);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user