diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-03 11:18:31 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-03 13:26:41 +0200 |
commit | 274fe6a4f8bcb23e31929430110c0b52e9ce233a (patch) | |
tree | c3fb9185e2e5da9d79cd16f1890b6134e61ab9ff /src/providers | |
parent | bebeea7ed99394c4061810ed15121bd0f5ac4964 (diff) | |
download | sssd-274fe6a4f8bcb23e31929430110c0b52e9ce233a.tar.gz sssd-274fe6a4f8bcb23e31929430110c0b52e9ce233a.tar.bz2 sssd-274fe6a4f8bcb23e31929430110c0b52e9ce233a.zip |
Check for correct variable name
https://fedorahosted.org/sssd/ticket/1864
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/krb5/krb5_child.c | 4 | ||||
-rw-r--r-- | src/providers/proxy/proxy_auth.c | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c index 425effb1..dd01e70b 100644 --- a/src/providers/krb5/krb5_child.c +++ b/src/providers/krb5/krb5_child.c @@ -1974,10 +1974,6 @@ static int k5c_setup(struct krb5_req *kr, uint32_t offline) * expired. The library shall not use the prompter to ask for a new password * but shall return KRB5KDC_ERR_KEY_EXP. */ krb5_get_init_creds_opt_set_change_password_prompt(kr->options, 0); - if (kerr != 0) { - KRB5_CHILD_DEBUG(SSSDBG_CRIT_FAILURE, kerr); - return kerr; - } #endif lifetime_str = getenv(SSSD_KRB5_RENEWABLE_LIFETIME); diff --git a/src/providers/proxy/proxy_auth.c b/src/providers/proxy/proxy_auth.c index 011de4fb..99b1a76c 100644 --- a/src/providers/proxy/proxy_auth.c +++ b/src/providers/proxy/proxy_auth.c @@ -531,7 +531,7 @@ static void proxy_child_sig_handler(struct tevent_context *ev, /* schedule another immediate timer to delete the sigchld handler */ imm2 = tevent_create_immediate(ev); - if (imm == NULL) { + if (imm2 == NULL) { DEBUG(1, ("tevent_create_immediate failed.\n")); return; } |