shithub: jbig2

Download patch

ref: 4d306e9ed969ff29bbceb2092ca67d9671e04a6a
parent: 201eeb8a511e28806bf1786ff1b57b8331b34808
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Sat Jul 20 12:09:08 EDT 2002

document endian worry


git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@150 ded80894-8fb9-0310-811b-c03f3676ab4d

--- a/sha1.c
+++ b/sha1.c
@@ -100,6 +100,7 @@
 
 /* blk0() and blk() perform the initial expand. */
 /* I got the idea of expanding during the round function from SSLeay */
+/* FIXME: can we do this in an endian-proof way? */
 #ifndef WORDS_BIGENDIAN
 #define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \
     |(rol(block->l[i],8)&0x00FF00FF))