diff options
author | Sumit Bose <sbose@redhat.com> | 2010-12-14 22:14:34 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-12-14 17:13:30 -0500 |
commit | e404ac6b8c5b78a102e20320133706f5efa66b12 (patch) | |
tree | 7b32152c830f8ec57ee4aadeff7bc5b819e52947 /src | |
parent | 7114284611b58c04182d5155d60d4e92d0b216fa (diff) | |
download | sssd-e404ac6b8c5b78a102e20320133706f5efa66b12.tar.gz sssd-e404ac6b8c5b78a102e20320133706f5efa66b12.tar.xz sssd-e404ac6b8c5b78a102e20320133706f5efa66b12.zip |
Fix improper bit manipulation in pam_sss
https://fedorahosted.org/sssd/ticket/715
Diffstat (limited to 'src')
-rw-r--r-- | src/sss_client/pam_sss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sss_client/pam_sss.c b/src/sss_client/pam_sss.c index 2031dbc03..0745dc656 100644 --- a/src/sss_client/pam_sss.c +++ b/src/sss_client/pam_sss.c @@ -1506,7 +1506,7 @@ static int pam_sss(enum sss_cli_command task, pam_handle_t *pamh, retry = true; retries--; - flags &= !FLAGS_USE_FIRST_PASS; + flags &= ~FLAGS_USE_FIRST_PASS; ret = pam_set_item(pamh, PAM_AUTHTOK, NULL); if (ret != PAM_SUCCESS) { D(("Failed to unset PAM_AUTHTOK [%s]", |