From 71713081a2b79b0baa024742cdbb4af536f77f4b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 1 May 2010 08:12:23 +0000 Subject: - Patch #723802 by pwolanin, grendzy: convert to sha-256 and hmac from md5 and sha1. --- modules/aggregator/tests/aggregator_test.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/aggregator/tests') diff --git a/modules/aggregator/tests/aggregator_test.module b/modules/aggregator/tests/aggregator_test.module index 46521995f..0e67bbf59 100644 --- a/modules/aggregator/tests/aggregator_test.module +++ b/modules/aggregator/tests/aggregator_test.module @@ -25,7 +25,7 @@ function aggregator_test_menu() { */ function aggregator_test_feed($use_last_modified = FALSE, $use_etag = FALSE) { $last_modified = strtotime('Sun, 19 Nov 1978 05:00:00 GMT'); - $etag = md5($last_modified); + $etag = drupal_hash_base64($last_modified); $if_modified_since = isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) ? strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']) : FALSE; $if_none_match = isset($_SERVER['HTTP_IF_NONE_MATCH']) ? stripslashes($_SERVER['HTTP_IF_NONE_MATCH']) : FALSE; -- cgit v1.2.3