1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-09 07:58:56 +02:00

[feature/passwords] Make method get_hashing_public_algorithm public

Combined hashing requires it for checking the supplied password hash for
its hashing algorithm.

PHPBB3-11610
This commit is contained in:
Marc Alexander 2013-06-27 14:30:48 +02:00
parent 6f33ca85a2
commit 556048177f

View File

@ -109,7 +109,7 @@ class phpbb_crypto_manager
* *
* @throws RunTimeException If hash type is not supported * @throws RunTimeException If hash type is not supported
*/ */
protected function get_hashing_algorithm($hash) public function get_hashing_algorithm($hash)
{ {
// preg_match() will also show hashing algos like $2a\H$, which // preg_match() will also show hashing algos like $2a\H$, which
// is a combination of bcrypt and phpass // is a combination of bcrypt and phpass