Veracode: return md5($string);

HOR-1578
Veracode: return md5($string);
This commit is contained in:
dheeyi william
2016-08-04 10:47:28 -04:00
parent 41ac4364dc
commit 952bdbb2dc

View File

@@ -7,6 +7,7 @@
*/
class Bootstrap
{
const hashFx = 'md5';
public static $includeClassPaths = array();
public static $includePaths = array();
protected $relativeIncludePaths = array();
@@ -2967,16 +2968,15 @@ class Bootstrap
}
return false;
}
/**
* encryptOld
*
* @param string $string
*
* @return md5($string)
*/
* @param $string
* @return mixed
*/
public function encryptOld ($string)
{
return md5($string);
$consthashFx = self::hashFx;
return $consthashFx($string);
}
/**