From 556048177fa25df140f3126f46fb541ec4b0ac8b Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 27 Jun 2013 14:30:48 +0200 Subject: [PATCH] [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 --- phpBB/includes/crypto/manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/crypto/manager.php b/phpBB/includes/crypto/manager.php index bbb844adab..d54f612443 100644 --- a/phpBB/includes/crypto/manager.php +++ b/phpBB/includes/crypto/manager.php @@ -109,7 +109,7 @@ class phpbb_crypto_manager * * @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 // is a combination of bcrypt and phpass