summaryrefslogtreecommitdiff
path: root/modules/simpletest/drupal_web_test_case.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest/drupal_web_test_case.php')
-rw-r--r--modules/simpletest/drupal_web_test_case.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index 58aa5a814..fa44ae597 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -1075,7 +1075,7 @@ class DrupalWebTestCase extends DrupalTestCase {
*/
protected function drupalGetToken($value = '') {
$private_key = drupal_get_private_key();
- return md5($this->session_id . $value . $private_key);
+ return drupal_hmac_base64($value, $this->session_id . $private_key);
}
/*