summaryrefslogtreecommitdiff
path: root/src/providers/krb5
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-08-29 13:44:16 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-12 19:11:09 +0200
commit10bc88ac09ada43256119b8e0654458830f88156 (patch)
treece528014c1843c5dbff388be74a5bb855b3cd12a /src/providers/krb5
parentdd7d72ec4e76ae781d739f0139e2ec43af9cf09b (diff)
downloadsssd-10bc88ac09ada43256119b8e0654458830f88156.tar.gz
sssd-10bc88ac09ada43256119b8e0654458830f88156.tar.bz2
sssd-10bc88ac09ada43256119b8e0654458830f88156.zip
KRB: Remove unused function parameters
Parameter "int *dp_err" and parameter "int *pam_status" were unused in static function krb5_auth_prepare_ccache_name.
Diffstat (limited to 'src/providers/krb5')
-rw-r--r--src/providers/krb5/krb5_auth.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c
index f5ecd77c..fe3e6aba 100644
--- a/src/providers/krb5/krb5_auth.c
+++ b/src/providers/krb5/krb5_auth.c
@@ -289,8 +289,7 @@ static void krb5_auth_cache_creds(struct krb5_ctx *krb5_ctx,
}
static errno_t krb5_auth_prepare_ccache_name(struct krb5child_req *kr,
- struct be_ctx *be_ctx,
- int *pam_status, int *dp_err)
+ struct be_ctx *be_ctx)
{
const char *ccname_template;
bool private_path = false;
@@ -730,8 +729,7 @@ static void krb5_auth_resolve_done(struct tevent_req *subreq)
}
}
- ret = krb5_auth_prepare_ccache_name(kr, state->be_ctx,
- &state->pam_status, &state->dp_err);
+ ret = krb5_auth_prepare_ccache_name(kr, state->be_ctx);
if (ret) {
goto done;
}