Mats Erik Andersson <g...@gisladisker.se> writes: > Hello there, > > I have found a discrepancy between 32-bit Wheezy and > 64-bit Squeeze systems. > > Both systems deliver cksumtype 0x07 and length 16 > as reported by ASN.1 verbose reports, but > > shishi_authenticator_cksum() > > is returning cksumtype 0x07 on i386, and 0x00 on amd64. > > As a consequence, shishi_checksum() is returning data > of length 12, when fed with the previous setup data. > Manually forcing cksumtype 0x07 into shishi_checksum(), > by overriding the claim from shishi_authenticator_cksum(), > will restore the expected functionality. > > Thus shishi_asn1_read() is not able to firmly establish > the encryption type, but ASN.1 reports correct debugging > text. It seems that shishi_asn1_read_int32() and macro > C2I are defective. Broken representation of ASN.1 data?
Interesting, are you able to reproduce this in some easy way? Could this be related to this problem: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670316 Maybe you could try that patch and see if it solves your problem. There is a bunch of ugly casts in Shish that could explain issues like this. I'd like to address them, but goings are going slowly... /Simon _______________________________________________ Help-shishi mailing list Help-shishi@gnu.org https://lists.gnu.org/mailman/listinfo/help-shishi