krb5_expire_callback_func from a function typedef to a function
pointer typedef. This was causing segfaults.
ticket: 6825
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24532
dc483132-0cff-0310-8789-
dd5450dbe970
char * fast_ccache_name;
krb5_ccache out_ccache;
krb5_flags fast_flags;
- krb5_expire_callback_func *expire_cb;
+ krb5_expire_callback_func expire_cb;
void *expire_data;
} krb5_gic_opt_private;
ret = krb5int_gic_opt_to_opte(context, options, &opte, 0, "");
if (ret == 0 && opte->opt_private->expire_cb != NULL) {
- krb5_expire_callback_func *cb = opte->opt_private->expire_cb;
+ krb5_expire_callback_func cb = opte->opt_private->expire_cb;
void *cb_data = opte->opt_private->expire_data;
/* Invoke the expire callback and don't send prompter warnings. */