pike.git
/
src
/
post_modules
/
Nettle
/
nettle.cmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/post_modules/Nettle/nettle.cmod:268:
if( THIS->sources ) { free(THIS->sources); } } } /*! @endclass */
-
/*! @decl string crypt_md5(string password, string salt, void|string magic)
+
/*! @decl string
(0..127)
crypt_md5(string password, string salt,
+
*!
void|string magic)
*! Does the crypt_md5 abrakadabra (MD5 + snakeoil). *! It is assumed that @[salt] does not contain "$". */
-
PIKEFUN string(0..
255
) crypt_md5(string pw, string salt, void|string magic)
+
PIKEFUN string(0..
127
) crypt_md5(string pw, string salt, void|string magic)
optflags OPT_TRY_OPTIMIZE; { char *hash; NO_WIDE_STRING(pw); NO_WIDE_STRING(salt); if(!magic) { hash = pike_crypt_md5(pw->len, pw->str, salt->len, salt->str, 3, "$1$"); }