pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
2011-11-24
2011-11-24 10:38:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>
44e09d92267e3f834faa80b3d09302a6aa5511a3 (
5
lines) (+
5
/-
0
)
[
Show
|
Annotate
]
Branch:
7.9
crypt(): Handle UNDEFINED as the second argument properly.
2998:
foo=my_rand(); salt[1] = choise[foo % (size_t) strlen(choise)]; saltp=salt;
+
if (args > 1) {
+
pop_n_elems(args-1);
+
args = 1;
}
-
+
}
#ifdef HAVE_CRYPT ret = (char *)crypt(pwd, saltp); #else