From 1979d2d1a03af758760a8ece3655c326fd56fd88 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 30 Oct 2013 01:34:57 -0600 Subject: [PATCH] Use SHA-1 for hash key --- framework/Autoloader_Cache/lib/Horde/Autoloader/Cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Autoloader_Cache/lib/Horde/Autoloader/Cache.php b/framework/Autoloader_Cache/lib/Horde/Autoloader/Cache.php index 27af32c9765..fdf6337b99e 100644 --- a/framework/Autoloader_Cache/lib/Horde/Autoloader/Cache.php +++ b/framework/Autoloader_Cache/lib/Horde/Autoloader/Cache.php @@ -104,7 +104,7 @@ public function __construct() $this->_cachetype = self::EACCELERATOR; } elseif (($tempdir = sys_get_temp_dir()) && is_readable($tempdir)) { $this->_tempdir = $tempdir; - $this->_cachekey = hash('md5', $this->_cachekey); + $this->_cachekey = hash('sha1', $this->_cachekey); if (($data = @file_get_contents($tempdir . '/' . $this->_cachekey)) === false) { unlink($tempdir . '/' . $this->_cachekey); }