From 63fa9cd98ca379468fd4411e696789baf8817008 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 27 Jun 2003 17:53:42 +0000 Subject: [PATCH] * gic_keytab.c (krb5_get_in_tkt_with_keytab): Pass (void*)keytab, not &keytab, to get_init_creds. Thanks to Herb Lewis. ticket: 1630 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15653 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 5 +++++ src/lib/krb5/krb/gic_keytab.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index b5288e71c..514081343 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +2003-06-27 Tom Yu + + * gic_keytab.c (krb5_get_in_tkt_with_keytab): Pass (void*)keytab, + not &keytab, to get_init_creds. Thanks to Herb Lewis. + 2003-06-16 Sam Hartman * fwd_tgt.c (krb5_fwd_tgt_creds): Set use_conf_ktypes to true while getting the TGT key diff --git a/src/lib/krb5/krb/gic_keytab.c b/src/lib/krb5/krb/gic_keytab.c index 725b76a28..38a88ee14 100644 --- a/src/lib/krb5/krb/gic_keytab.c +++ b/src/lib/krb5/krb/gic_keytab.c @@ -174,7 +174,7 @@ krb5_get_in_tkt_with_keytab(krb5_context context, krb5_flags options, creds, creds->client, krb5_prompter_posix, NULL, 0, server, &opt, - krb5_get_as_key_keytab, &keytab, + krb5_get_as_key_keytab, (void *)keytab, 0, ret_as_reply); krb5_free_unparsed_name( context, server); if (retval) { -- 2.26.2