Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support PHP 7.x and 8.x and drop internal libcrack library
Recent cracklib versions have different dictionary format from what the internal libcrack code have been using. Drop the internal libcrack copy and link to the external cracklib. Add support for PHP 7.x and 8.x and drop support for PHP 4.x and 5.x at the same time. Dropped the notion of a "default open dictionary" which was always the last opened one and just complicated things. Instead, made the argument to crack_opendict() optional so the global configuration "crack.default_dictionary" can be used. Reordered the arguments to crack_check() so the dictionary resource became the first argument and mandatory. Signed-off-by: Zoltán Böszörményi <[email protected]>
- Loading branch information