Fix quad checksum bug.

This commit is contained in:
Ben Laurie 1999-03-09 11:37:23 +00:00
parent cbb7792613
commit b241fefd98
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,9 @@
Changes between 0.9.1c and 0.9.2 Changes between 0.9.1c and 0.9.2
*) DES quad checksum was broken on big-endian architectures. Fixed.
[Ben Laurie]
*) Comment out two functions in bio.h that aren't implemented. Fix up the *) Comment out two functions in bio.h that aren't implemented. Fix up the
Win32 test batch file so it (might) work again. The Win32 test batch file Win32 test batch file so it (might) work again. The Win32 test batch file
is horrible: I feel ill.... is horrible: I feel ill....

View File

@ -133,7 +133,7 @@ des_cblock seed;
} }
else else
{ {
lp=&output[out_count-i-1]; lp=&output[(out_count-i-1)*8];
l2n(z1,lp); l2n(z1,lp);
l2n(z0,lp); l2n(z0,lp);
} }