You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
719 B

diff -u -r ../cyrus-sasl-2.1.26/saslauthd/auth_getpwent.c ./saslauthd/auth_getpwent.c
--- ../cyrus-sasl-2.1.26/saslauthd/auth_getpwent.c 2012-10-12 10:05:48.000000000 -0400
+++ ./saslauthd/auth_getpwent.c 2015-12-13 20:55:42.978090186 -0500
@@ -105,17 +105,21 @@
}
}
+#ifndef __ANDROID__
if (strcmp(pw->pw_passwd, (const char *)crypt(password, pw->pw_passwd))) {
if (flags & VERBOSE) {
syslog(LOG_DEBUG, "DEBUG: auth_getpwent: %s: invalid password", login);
}
+#endif
RETURN("NO Incorrect password");
+#ifndef __ANDROID__
}
if (flags & VERBOSE) {
syslog(LOG_DEBUG, "DEBUG: auth_getpwent: OK: %s", login);
}
RETURN("OK");
+#endif
}
/* END FUNCTION: auth_getpwent */