Subject: | Fails to pass tests on 64-bit architecture |
From Crypt-Rijndael-0.05.tar.gz (which still has $VERSION = 0.04 by the way) installing on amd64 in FreeBSD 5.3 with perl 5.8.5 fails tests checking the result of the encryption. The cause is that the code assumes "unsigned long" is 32 bits, whereas it is 64 bits here.
The fix is to edit rijndael.h in the source to "unsigned int" as the UINT32 type. Probably better is to use uint32_t from <sys/types.h> to be more portable.
Email to the author at sevillar@team.ph.inter.net but that address bounces as non-existent.