Changeset 756 in openpam
- Timestamp:
- Jan 22, 2014, 3:13:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/pam_oath/pam_oath.c
r753 r756 272 272 } 273 273 openpam_log(PAM_LOG_VERBOSE, "verification code %s", 274 ret ? "matched" : "did not match");275 if (ret == 0) {276 pam_err = PAM_AUTH_ERR;274 ret > 0 ? "matched" : "did not match"); 275 if (ret <= 0) { 276 pam_err = ret < 0 ? PAM_SERVICE_ERR : PAM_AUTH_ERR; 277 277 goto done; 278 278 }
Note: See TracChangeset
for help on using the changeset viewer.