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/aggregator.install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/aggregator/aggregator.install') diff --git a/modules/aggregator/aggregator.install b/modules/aggregator/aggregator.install index bad9bac5a..43fcf8119 100644 --- a/modules/aggregator/aggregator.install +++ b/modules/aggregator/aggregator.install @@ -170,10 +170,10 @@ function aggregator_schema() { ), 'hash' => array( 'type' => 'varchar', - 'length' => 32, + 'length' => 64, 'not null' => TRUE, 'default' => '', - 'description' => 'Calculated md5 hash of the feed data, used for validating cache.', + 'description' => 'Calculated hash of the feed data, used for validating cache.', ), 'etag' => array( 'type' => 'varchar', @@ -275,7 +275,7 @@ function aggregator_schema() { * Add hash column to aggregator_feed table. */ function aggregator_update_7000() { - db_add_field('aggregator_feed', 'hash', array('type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => '')); + db_add_field('aggregator_feed', 'hash', array('type' => 'varchar', 'length' => 64, 'not null' => TRUE, 'default' => '')); } /** @@ -297,3 +297,4 @@ function aggregator_update_7002() { )); db_add_index('aggregator_feed', 'queued', array('queued')); } + -- cgit v1.2.3