summaryrefslogtreecommitdiff
path: root/modules/update
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/update
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/update')
-rw-r--r--modules/update/update.fetch.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/update/update.fetch.inc b/modules/update/update.fetch.inc
index 4f55f0a10..b21df684d 100644
--- a/modules/update/update.fetch.inc
+++ b/modules/update/update.fetch.inc
@@ -137,7 +137,7 @@ function _update_process_fetch_task($project) {
$success = FALSE;
$available = array();
- $site_key = md5($base_url . drupal_get_private_key());
+ $site_key = drupal_hmac_base64($base_url, drupal_get_private_key());
$url = _update_build_fetch_url($project, $site_key);
$fetch_url_base = _update_get_fetch_url_base($project);
$project_name = $project['name'];