summaryrefslogtreecommitdiff
path: root/modules/file
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-05-01 08:12:23 +0000
committerDries Buytaert <dries@buytaert.net>2010-05-01 08:12:23 +0000
commit71713081a2b79b0baa024742cdbb4af536f77f4b (patch)
treee9bc0d309856beb05a6fae67fdbdd75c59ccef9f /modules/file
parent2a2f4cc0be547f515ccd4212e9aeca7765a4968b (diff)
downloadbrdo-71713081a2b79b0baa024742cdbb4af536f77f4b.tar.gz
brdo-71713081a2b79b0baa024742cdbb4af536f77f4b.tar.bz2
- Patch #723802 by pwolanin, grendzy: convert to sha-256 and hmac from md5 and sha1.
Diffstat (limited to 'modules/file')
-rw-r--r--modules/file/file.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/file/file.module b/modules/file/file.module
index 44ef83c06..9f635f9d3 100644
--- a/modules/file/file.module
+++ b/modules/file/file.module
@@ -410,7 +410,7 @@ function file_managed_file_process($element, &$form_state, $form) {
// Add progress bar support to the upload if possible.
if ($element['#progress_indicator'] == 'bar' && $implementation = file_progress_implementation()) {
- $upload_progress_key = md5(mt_rand());
+ $upload_progress_key = mt_rand();
if ($implementation == 'uploadprogress') {
$element['UPLOAD_IDENTIFIER'] = array(