1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 17:38:14 +02:00

MFB crypt fix

This commit is contained in:
Stanislav Malyshev
2011-09-12 17:50:42 +00:00
parent 1fbf911905
commit ba04ba9c82
+2
View File
@@ -179,6 +179,8 @@ PHP_FUNCTION(crypt)
salt[2] = '\0';
#endif
salt_in_len = strlen(salt);
} else {
salt_in_len = MIN(PHP_MAX_SALT_LEN, salt_in_len);
}
/* Windows (win32/crypt) has a stripped down version of libxcrypt and