summaryrefslogtreecommitdiff
path: root/sha1dc
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2019-05-13 22:17:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-05-14 07:45:01 (GMT)
commit4125f78222749cb8fc91115abec3ac83e5dfb194 (patch)
tree8a2bdbd7282a13b46ee01a78be977b95880511b3 /sha1dc
parent07a20f569b4b1690e717eaac0954007a8edfbfc2 (diff)
downloadgit-4125f78222749cb8fc91115abec3ac83e5dfb194.zip
git-4125f78222749cb8fc91115abec3ac83e5dfb194.tar.gz
git-4125f78222749cb8fc91115abec3ac83e5dfb194.tar.bz2
sha1dc: update from upstream
Update sha1dc from the latest version by the upstream maintainer[1]. See 07a20f569b ("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. https://github.com/cr-marcstevens/sha1collisiondetection/commit/855827c583bc30645ba427885caa40c5b81764d2 2. https://public-inbox.org/git/603989bd-f86d-c61d-c6f5-fb6748a65ba9@siemens.com/ 3. https://github.com/cr-marcstevens/sha1collisiondetection/pull/50 Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1dc')
-rw-r--r--sha1dc/sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1dc/sha1.c b/sha1dc/sha1.c
index 5931cf2..9d3cf81 100644
--- a/sha1dc/sha1.c
+++ b/sha1dc/sha1.c
@@ -93,7 +93,7 @@
#define SHA1DC_BIGENDIAN
/* Not under GCC-alike or glibc or *BSD or newlib or <processor whitelist> */
-#elif (defined(_AIX))
+#elif (defined(_AIX) || defined(__hpux))
/*
* Defines Big Endian on a whitelist of OSs that are known to be Big