Skip to content

Commit 4125f78

Browse files
avargitster
authored andcommitted
sha1dc: update from upstream
Update sha1dc from the latest version by the upstream maintainer[1]. See 07a20f5 ("Makefile: fix unaligned loads in sha1dc with UBSan", 2019-03-12) for the last update. This fixes an issue where HP-UX IA64 was wrongly detected as a Little-endian instead of a Big-endian system, see [2] and [3]. 1. cr-marcstevens/sha1collisiondetection@855827c 2. https://public-inbox.org/git/603989bd-f86d-c61d-c6f5-fb6748a65ba9@siemens.com/ 3. cr-marcstevens/sha1collisiondetection#50 Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 07a20f5 commit 4125f78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sha1collisiondetection

sha1dc/sha1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
#define SHA1DC_BIGENDIAN
9494

9595
/* Not under GCC-alike or glibc or *BSD or newlib or <processor whitelist> */
96-
#elif (defined(_AIX))
96+
#elif (defined(_AIX) || defined(__hpux))
9797

9898
/*
9999
* Defines Big Endian on a whitelist of OSs that are known to be Big

0 commit comments

Comments
 (0)