projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d71c770
)
libbb: fix fallout from last patch to obscure() (my mistake). +143 bytes
author
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 17 Aug 2010 15:21:36 +0000
(17:21 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 17 Aug 2010 15:21:36 +0000
(17:21 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/obscure.c
patch
|
blob
|
history
diff --git
a/libbb/obscure.c
b/libbb/obscure.c
index 06f00281acc90a4c1d49da5694fb095bb97b803a..dd8cd319a023a3c4b430cafa23a3d161971a4793 100644
(file)
--- a/
libbb/obscure.c
+++ b/
libbb/obscure.c
@@
-153,7
+153,7
@@
static const char *obscure_msg(const char *old_p, const char *new_p, const struc
}
size = CONFIG_PASSWORD_MINLEN + 2*CATEGORIES;
- for (i =
0
; i <= LAST_CAT; i <<= 1)
+ for (i =
1
; i <= LAST_CAT; i <<= 1)
if (mixed & i)
size -= 2;
if (length < size)