From b4fef608040800e4927c10146d6d386f97335e06 Mon Sep 17 00:00:00 2001 From: Zhanna Tsitkov Date: Tue, 24 Nov 2009 21:08:00 +0000 Subject: [PATCH] Remove krb5_ prefix from the name of the static func get_as_key_keytab. Reindent git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23352 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/gic_keytab.c | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/lib/krb5/krb/gic_keytab.c b/src/lib/krb5/krb/gic_keytab.c index ab064ebcd..43b9fb760 100644 --- a/src/lib/krb5/krb/gic_keytab.c +++ b/src/lib/krb5/krb/gic_keytab.c @@ -29,16 +29,15 @@ #include "k5-int.h" static krb5_error_code -krb5_get_as_key_keytab( - krb5_context context, - krb5_principal client, - krb5_enctype etype, - krb5_prompter_fct prompter, - void *prompter_data, - krb5_data *salt, - krb5_data *params, - krb5_keyblock *as_key, - void *gak_data) +get_as_key_keytab(krb5_context context, + krb5_principal client, + krb5_enctype etype, + krb5_prompter_fct prompter, + void *prompter_data, + krb5_data *salt, + krb5_data *params, + krb5_keyblock *as_key, + void *gak_data) { krb5_keytab keytab = (krb5_keytab) gak_data; krb5_error_code ret; @@ -109,7 +108,7 @@ krb5_get_init_creds_keytab(krb5_context context, ret = krb5_get_init_creds(context, creds, client, NULL, NULL, start_time, in_tkt_service, opte, - krb5_get_as_key_keytab, (void *) keytab, + get_as_key_keytab, (void *) keytab, &use_master,NULL); /* check for success */ @@ -130,7 +129,7 @@ krb5_get_init_creds_keytab(krb5_context context, ret2 = krb5_get_init_creds(context, creds, client, NULL, NULL, start_time, in_tkt_service, opte, - krb5_get_as_key_keytab, (void *) keytab, + get_as_key_keytab, (void *) keytab, &use_master, NULL); if (ret2 == 0) { @@ -196,7 +195,7 @@ krb5_get_in_tkt_with_keytab(krb5_context context, krb5_flags options, creds, creds->client, krb5_prompter_posix, NULL, 0, server, opte, - krb5_get_as_key_keytab, (void *)keytab, + get_as_key_keytab, (void *)keytab, &use_master, ret_as_reply); krb5_free_unparsed_name( context, server); krb5_get_init_creds_opt_free(context, (krb5_get_init_creds_opt *)opte); -- 2.26.2