-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I fixed the gringotts breakage by using the new mhash type definitions.
For the interested I attached the patch for the gringotts library.
You should change the ABI version of libmhash (eg. to libmhash3) to
avoid breaking other packages.


Regards,
  Bastian
- --
  ,''`.                  Bastian Kleineidam
 : :' :                    GnuPG Schlüssel
 `. `'    gpg --keyserver wwwkeys.pgp.net --recv-keys 32EC6F3E
   `-

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDz++2eBwlBDLsbz4RAqWhAKCgXPnEznIUPeqjM2IcKDDM9Ga2IgCgk0mL
sfpIZAmjGeL1J3MkJxbfZ2k=
=Ppen
-----END PGP SIGNATURE-----
--- libgringotts-1.2.1.orig/src/libgrg_crypt.c
+++ libgringotts-1.2.1/src/libgrg_crypt.c
@@ -81,11 +81,11 @@
  *
  * Returns: the checksum
  */
-static unsigned char *
-get_CRC32 (const unsigned char *string, const long strlen)
+static mutils_word8 *
+get_CRC32 (const mutils_word8 *string, const mutils_word32 strlen)
 {
        MHASH td;
-       unsigned char *ret;
+       mutils_word8 *ret;
 
        td = mhash_init (MHASH_CRC32);
 
@@ -111,10 +111,10 @@
  * Returns: TRUE or FALSE
  */
 static int
-compare_CRC32 (const unsigned char *CRC, const unsigned char *toCheck,
-              const long len)
+compare_CRC32 (const mutils_word8 *CRC, const mutils_word8 *toCheck,
+              const mutils_word32 len)
 {
-       unsigned char *CRC2;
+       mutils_word8 *CRC2;
        int ret;
 
        if (!CRC || !toCheck)

Reply via email to