Alex Bennee wrote: > I'm currently adding a file cache for the bitzi metadata to GTKG. The > last thing I need to do is parse the XML tickets to extract a urnsha1 so > a proper entry can be added into the hashtable.
Is that just a validity check? The tickets are requested by SHA1 anyway, or not? > I'm using the base32_sha1 function to convert the ASCI string into a > binary urn. As far as I can tell it should work the same as it does for > PARQ, so why is it failing. I've modified base32_sha1() to not tolerate trailing data. Your code doesn't verify whether the SHA1 was valid. -- Christian
pgprmON3Ej3L9.pgp
Description: PGP signature
