after it's been set.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16229
dc483132-0cff-0310-8789-
dd5450dbe970
+2004-04-02 Ken Raeburn <raeburn@mit.edu>
+
+ * keytab.c (krb5_ktkdb_get_entry): Don't use local variable
+ "context" until after it's been set.
+
2003-12-13 Ken Raeburn <raeburn@mit.edu>
* keytab.c (krb5_ktkdb_get_name): New function.
krb5_db_entry db_entry;
krb5_boolean more = 0;
int n = 0;
- int xrealm_tgt = is_xrealm_tgt(context, principal);
+ int xrealm_tgt;
int similar;
if (ktkdb_ctx)
else
context = in_context;
+ xrealm_tgt = is_xrealm_tgt(context, principal);
+
/* Open database */
/* krb5_db_init(context); */
if ((kerror = krb5_db_open_database(context)))