On Tue, Mar 10, 2009 at 10:33:44AM +0100, Michael Schroeder wrote: > My plan was to just modify the expandseq() function so that it > uses sha256 if the checksums stored in the rpm header look like > sha256. I just did some experiments and it seems that we just need two changes: - change parsemd5 so that it doesn't complain about too many characters - change the checkfilemd5/checkprelinked functions so that they use the alroeithm specified in the header's FILEDIGESTALGO tag. We would compare only the first 16 bytes of the sha256 sums, but that should be no problem as it's not a security relevant check. Cheers, Michael. -- Michael Schroeder mls@xxxxxxx SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list