summaryrefslogtreecommitdiff
path: root/src/sss_client
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-12-14 22:14:34 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-12-14 17:13:30 -0500
commite404ac6b8c5b78a102e20320133706f5efa66b12 (patch)
tree7b32152c830f8ec57ee4aadeff7bc5b819e52947 /src/sss_client
parent7114284611b58c04182d5155d60d4e92d0b216fa (diff)
downloadsssd-e404ac6b8c5b78a102e20320133706f5efa66b12.tar.gz
sssd-e404ac6b8c5b78a102e20320133706f5efa66b12.tar.bz2
sssd-e404ac6b8c5b78a102e20320133706f5efa66b12.zip
Fix improper bit manipulation in pam_sss
https://fedorahosted.org/sssd/ticket/715
Diffstat (limited to 'src/sss_client')
-rw-r--r--src/sss_client/pam_sss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sss_client/pam_sss.c b/src/sss_client/pam_sss.c
index 2031dbc0..0745dc65 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]",