From 893522a79f78b001a556ec95639c80198b70200f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 3 Mar 2022 17:03:36 +0100 Subject: [PATCH] lib/krb5: remove unused krb5_krbhst_info argument to pa_step() Signed-off-by: Stefan Metzmacher --- lib/krb5/init_creds_pw.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/krb5/init_creds_pw.c b/lib/krb5/init_creds_pw.c index 3d6f99b61..efaa59e22 100644 --- a/lib/krb5/init_creds_pw.c +++ b/lib/krb5/init_creds_pw.c @@ -2256,7 +2256,6 @@ pa_step(krb5_context context, krb5_init_creds_context ctx, const AS_REQ *a, const AS_REP *rep, - const krb5_krbhst_info *hi, METHOD_DATA *in_md, METHOD_DATA *out_md) { @@ -2308,7 +2307,7 @@ pa_step(krb5_context context, _krb5_debug(context, 5, "Stepping pa-mech: %s", ctx->pa_mech->patype->name); - ret = ctx->pa_mech->patype->step(context, ctx, (void *)&ctx->pa_mech->pactx[0], pa, a, rep, hi, in_md, out_md); + ret = ctx->pa_mech->patype->step(context, ctx, (void *)&ctx->pa_mech->pactx[0], pa, a, rep, NULL, in_md, out_md); _krb5_debug(context, 10, "PA type %s returned %d", ctx->pa_mech->patype->name, ret); if (ret == 0) { struct pa_auth_mech *next_pa = ctx->pa_mech->next; @@ -2384,7 +2383,7 @@ process_pa_data_to_md(krb5_context context, log_kdc_pa_types(context, in_md); - ret = pa_step(context, ctx, a, NULL, NULL, in_md, *out_md); + ret = pa_step(context, ctx, a, NULL, in_md, *out_md); if (ret == HEIM_ERR_PA_CONTINUE_NEEDED) { _krb5_debug(context, 0, "pamech need more stepping"); } else if (ret == 0) { @@ -2443,7 +2442,7 @@ process_pa_data_to_key(krb5_context context, } } - ret = pa_step(context, ctx, a, rep, NULL, rep->padata, NULL); + ret = pa_step(context, ctx, a, rep, rep->padata, NULL); if (ret == HEIM_ERR_PA_CONTINUE_NEEDED) { _krb5_debug(context, 0, "In final stretch and pa require more stepping ?"); return ret;