From: Ben Laurie Date: Tue, 9 Mar 1999 11:37:23 +0000 (+0000) Subject: Fix quad checksum bug. X-Git-Tag: OpenSSL_0_9_2b~43 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=b241fefd985920327b0a07bd48f59838065d93e2 Fix quad checksum bug. --- diff --git a/CHANGES b/CHANGES index 4eefb6bfcd..6454da2912 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,9 @@ 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 Win32 test batch file so it (might) work again. The Win32 test batch file is horrible: I feel ill.... diff --git a/crypto/des/qud_cksm.c b/crypto/des/qud_cksm.c index 4d5301c241..93505354a6 100644 --- a/crypto/des/qud_cksm.c +++ b/crypto/des/qud_cksm.c @@ -133,7 +133,7 @@ des_cblock seed; } else { - lp=&output[out_count-i-1]; + lp=&output[(out_count-i-1)*8]; l2n(z1,lp); l2n(z0,lp); }