projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbb7792
)
Fix quad checksum bug.
author
Ben Laurie
<ben@openssl.org>
Tue, 9 Mar 1999 11:37:23 +0000
(11:37 +0000)
committer
Ben Laurie
<ben@openssl.org>
Tue, 9 Mar 1999 11:37:23 +0000
(11:37 +0000)
CHANGES
patch
|
blob
|
history
crypto/des/qud_cksm.c
patch
|
blob
|
history
diff --git
a/CHANGES
b/CHANGES
index 4eefb6bfcd100a2900c758947c5a40ddaeadda0b..6454da29125d1dd297923c5459a8b9eed7d46511 100644
(file)
--- 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 4d5301c241f57228ca7b20654fdcbf71af60c1e5..93505354a69e7871c7370e1293489c2b12c18103 100644
(file)
--- 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);
}