From 72a55138069312fa986bafc158c130f11c2f4bf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 2 Apr 2006 20:20:45 +0000 Subject: [PATCH] Remove a delta from last revision that should have gone in later. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16966 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hdb/keytab.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/hdb/keytab.c b/lib/hdb/keytab.c index 717f4b865..ebf1fe420 100644 --- a/lib/hdb/keytab.c +++ b/lib/hdb/keytab.c @@ -218,7 +218,8 @@ hdb_get_entry(krb5_context context, (*db->hdb_destroy)(context, db); return ret; } - ret = (*db->hdb_fetch)(context, db, principal, HDB_F_DECRYPT, &ent); + ent.entry.principal = rk_UNCONST(principal); + ret = (*db->hdb_fetch)(context, db, HDB_F_DECRYPT, &ent); (*db->hdb_close)(context, db); (*db->hdb_destroy)(context, db);