Skip to content

Commit

Permalink
Drop unused parameter from gssapi_spnego_ssf()
Browse files Browse the repository at this point in the history
Signed-off-by: Simo Sorce <simo@redhat.com>
  • Loading branch information
simo5 authored and brong committed Jan 29, 2018
1 parent e27ea36 commit ed2ad48
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions plugins/gssapi.c
Expand Up @@ -652,7 +652,7 @@ static void gssapi_common_mech_free(void *global_context __attribute__((unused))
* flags negotiated by GSSAPI to determine If confidentiality or integrity are
* used. These flags are stored in text->qop transalated as layers by the
* caller */
static int gssapi_spnego_ssf(context_t *text, const sasl_utils_t *utils,
static int gssapi_spnego_ssf(context_t *text,
sasl_security_properties_t *props,
sasl_out_params_t *oparams)
{
Expand Down Expand Up @@ -1019,7 +1019,7 @@ gssapi_server_mech_authneg(context_t *text,
text->state = SASL_GSSAPI_STATE_AUTHENTICATED;
ret = SASL_OK;
} else if (text->mech_type && text->mech_type == &gss_spnego_oid) {
ret = gssapi_spnego_ssf(text, params->utils, &params->props, oparams);
ret = gssapi_spnego_ssf(text, &params->props, oparams);
} else {
/* Switch to ssf negotiation */
text->state = SASL_GSSAPI_STATE_SSFCAP;
Expand Down Expand Up @@ -1825,8 +1825,7 @@ static int gssapi_client_mech_step(void *conn_context,
return SASL_OK;
} else if (text->mech_type && text->mech_type == &gss_spnego_oid) {
oparams->doneflag = 1;
return gssapi_spnego_ssf(text, params->utils, &params->props,
oparams);
return gssapi_spnego_ssf(text, &params->props, oparams);
}

/* Switch to ssf negotiation */
Expand Down

0 comments on commit ed2ad48

Please sign in to comment.