(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:
Love Hörnquist Åstrand
2006-04-27 11:01:30 +00:00
parent becd133799
commit d176572cbc

View File

@@ -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);