| 1 | diff -u -r ../cyrus-sasl-2.1.26/saslauthd/auth_getpwent.c ./saslauthd/auth_getpwent.c |
| 2 | --- ../cyrus-sasl-2.1.26/saslauthd/auth_getpwent.c 2012-10-12 10:05:48.000000000 -0400 |
| 3 | +++ ./saslauthd/auth_getpwent.c 2015-12-13 20:55:42.978090186 -0500 |
| 4 | @@ -105,17 +105,21 @@ |
| 5 | } |
| 6 | } |
| 7 | |
| 8 | +#ifndef __ANDROID__ |
| 9 | if (strcmp(pw->pw_passwd, (const char *)crypt(password, pw->pw_passwd))) { |
| 10 | if (flags & VERBOSE) { |
| 11 | syslog(LOG_DEBUG, "DEBUG: auth_getpwent: %s: invalid password", login); |
| 12 | } |
| 13 | +#endif |
| 14 | RETURN("NO Incorrect password"); |
| 15 | +#ifndef __ANDROID__ |
| 16 | } |
| 17 | |
| 18 | if (flags & VERBOSE) { |
| 19 | syslog(LOG_DEBUG, "DEBUG: auth_getpwent: OK: %s", login); |
| 20 | } |
| 21 | RETURN("OK"); |
| 22 | +#endif |
| 23 | } |
| 24 | |
| 25 | /* END FUNCTION: auth_getpwent */ |