mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
- use bb_msg_full_version instead of a separate string. Saves a minor 3 bytes.
This commit is contained in:
parent
a7c5d2c6d9
commit
d71e45856e
1 changed files with 2 additions and 2 deletions
|
|
@ -47,9 +47,9 @@ int correct_password(const struct passwd *pw)
|
|||
char buffer[256];
|
||||
#endif
|
||||
|
||||
correct = "aa"; /* fake salt. crypt() can choke otherwise */
|
||||
correct = bb_msg_full_version; /* fake salt. crypt() can choke otherwise */
|
||||
if (!pw)
|
||||
goto fake_it; /* "aa" will never match */
|
||||
goto fake_it; /* The content of 'correct' will never match */
|
||||
correct = pw->pw_passwd;
|
||||
#if ENABLE_FEATURE_SHADOWPASSWDS
|
||||
if (LONE_CHAR(pw->pw_passwd, 'x') || LONE_CHAR(pw->pw_passwd, '*')) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue