Changeset View
Changeset View
Standalone View
Standalone View
kcheckpass/checkpass_pam.c
Context not available. | |||||
121 | 121 | | |||
---|---|---|---|---|---|
122 | #ifdef PAM_FAIL_DELAY | 122 | #ifdef PAM_FAIL_DELAY | ||
123 | static void | 123 | static void | ||
124 | fail_delay(int retval ATTR_UNUSED, unsigned usec_delay ATTR_UNUSED, | 124 | fail_delay(int retval ATTR_UNUSED, unsigned usec_delay ATTR_UNUSED, | ||
125 | void *appdata_ptr ATTR_UNUSED) | 125 | void *appdata_ptr ATTR_UNUSED) | ||
126 | {} | 126 | {} | ||
127 | #endif | 127 | #endif | ||
Context not available. | |||||
168 | pam_error = pam_authenticate(pamh, 0); | 168 | pam_error = pam_authenticate(pamh, 0); | ||
169 | if (pam_error != PAM_SUCCESS) { | 169 | if (pam_error != PAM_SUCCESS) { | ||
170 | if (PAM_data.abort) { | 170 | if (PAM_data.abort) { | ||
171 | pam_end(pamh, PAM_SUCCESS); | 171 | PAM_data.abort = 0; | ||
172 | pam_end(pamh, pam_error); | ||||
172 | return AuthAbort; | 173 | return AuthAbort; | ||
173 | } | 174 | } | ||
174 | pam_end(pamh, pam_error); | 175 | pam_end(pamh, pam_error); | ||
Context not available. |