svn commit: trunk/busybox/libbb

aldot at busybox.net aldot at busybox.net
Fri Jun 15 08:30:34 UTC 2007


Author: aldot
Date: 2007-06-15 01:30:33 -0700 (Fri, 15 Jun 2007)
New Revision: 18824

Log:
- vda perfers not to use the banner


Modified:
   trunk/busybox/libbb/correct_password.c


Changeset:
Modified: trunk/busybox/libbb/correct_password.c
===================================================================
--- trunk/busybox/libbb/correct_password.c	2007-06-14 21:41:15 UTC (rev 18823)
+++ trunk/busybox/libbb/correct_password.c	2007-06-15 08:30:33 UTC (rev 18824)
@@ -49,10 +49,9 @@
 
 	/* fake salt. crypt() can choke otherwise.
 	 * (bb_banner's first two chars are letters and thus are valid salt) */
-	correct = bb_banner;
+	correct = "aa";
 	if (!pw) {
-		/* bb_banner will never match, it contains () which is never
-		 * generated in valid encrypted passwords. */
+		/* "aa" will never match */
 		goto fake_it;
 	}
 	correct = pw->pw_passwd;




More information about the busybox-cvs mailing list