From f93537966df048a1b9a6eb67d1f40bb0d77dca72 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Tue, 9 Mar 2004 19:21:53 +0000 Subject: [PATCH] Fix missing case for get_init_creds API change Fix a case I missed in my original patch for the krb5_get_init_creds API change. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16162 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 5 +++++ src/lib/krb5/krb/gic_keytab.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 47c10bf52..7e7a547ed 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +2004-03-09 Ken Hornstein + + * gic_keytab.c (krb5_get_in_tkt_with_keytab): Fix a case I missed + originally. + 2004-02-27 Ken Raeburn * gic_pwd.c (krb5_get_in_tkt_with_password): Fix a case Jeff diff --git a/src/lib/krb5/krb/gic_keytab.c b/src/lib/krb5/krb/gic_keytab.c index 3861c1502..3a10c5583 100644 --- a/src/lib/krb5/krb/gic_keytab.c +++ b/src/lib/krb5/krb/gic_keytab.c @@ -154,6 +154,7 @@ krb5_get_in_tkt_with_keytab(krb5_context context, krb5_flags options, char * server = NULL; krb5_keytab keytab; krb5_principal client_princ, server_princ; + int use_master = 0; krb5int_populate_gic_opt(context, &opt, options, addrs, ktypes, @@ -175,7 +176,7 @@ krb5_get_in_tkt_with_keytab(krb5_context context, krb5_flags options, krb5_prompter_posix, NULL, 0, server, &opt, krb5_get_as_key_keytab, (void *)keytab, - 0, ret_as_reply); + &use_master, ret_as_reply); krb5_free_unparsed_name( context, server); if (retval) { goto cleanup; -- 2.26.2