summaryrefslogtreecommitdiffstats
path: root/g10/rmd160.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2024-10-16 04:41:46 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2024-10-16 04:41:46 +0200
commit347ab07c6245bbd65797b6712bebdb8f13a2b61c (patch)
tree1b5949ba38d7c508dbf678d66786aae8c7ba6b55 /g10/rmd160.c
parentcommon: Fix a race condition in creating socketdir. (diff)
downloadgnupg2-347ab07c6245bbd65797b6712bebdb8f13a2b61c.tar.xz
gnupg2-347ab07c6245bbd65797b6712bebdb8f13a2b61c.zip
build: Don't remove --disable-endian-check.
* configure.ac (WORDS_BIGENDIAN): Use the autoconf macro, instead of our own BIG_ENDIAN_HOST. (DISABLED_ENDIAN_CHECK): Keep --disable-endian-check supported. * g10/rmd160.c (transform): Use WORDS_BIGENDIAN. -- Fixes-commit: f8bf5e01f76620cc550253cc2575754872cf64aa Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to '')
-rw-r--r--g10/rmd160.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/rmd160.c b/g10/rmd160.c
index cf2779641..8d5ed63de 100644
--- a/g10/rmd160.c
+++ b/g10/rmd160.c
@@ -86,7 +86,7 @@ static void
transform (rmd160_context_t *hd, const unsigned char *data)
{
u32 a,b,c,d,e,aa,bb,cc,dd,ee,t;
-#ifdef BIG_ENDIAN_HOST
+#ifdef WORDS_BIGENDIAN
u32 x[16];
{
int i;