]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/sha1: use proper WORDS_BIGENDIAN macro
authorKarel Zak <kzak@redhat.com>
Tue, 2 Jan 2018 10:08:03 +0000 (11:08 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 2 Jan 2018 10:08:03 +0000 (11:08 +0100)
commit4ff4b1106e8c6a71cce59ca40a2019342a92d47d
tree9cc9509d7f6206bcf7f7356c9259ef4c72e4353e
parent43afa84581de8984aa00ef2e9208198929f72ddf
lib/sha1: use proper WORDS_BIGENDIAN macro

The original code uses BYTE_ORDER, but we use WORDS_BIGENDIAN in
utl-linux.

Reported-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/sha1.c