commit a424c0f29c1ef30702964271e2a5c0d8e126ef50
Author: Christophe Fergeau <[email protected]>
Date: Mon Oct 19 14:14:16 2009 +0200
extract hash info when reading an iTunesDB
We know how to resign (using hash72) an iTunesDB after having seen a
valid iTunesDB once, this commit makes sure we save the needed
information when parsing an iTunesDB.
src/itdb_itunesdb.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c
index 168a910..15a7dcf 100644
--- a/src/itdb_itunesdb.c
+++ b/src/itdb_itunesdb.c
@@ -3009,6 +3009,9 @@ itdb_parse_internal (Itdb_iTunesDB *itdb, gboolean
compressed, GError **error)
if (fimp->fcontents)
{
+ itdb_hash72_extract_hash_info (fimp->itdb->device,
+ (guchar *)fimp->fcontents->contents,
+ fimp->fcontents->length);
if (playcounts_init (fimp))
{
if (parse_fimp (fimp, compressed))
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2