Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/openssh/dist Try to make this buildable ...
details: https://anonhg.NetBSD.org/src/rev/91b64baa376b
branches: trunk
changeset: 333135:91b64baa376b
user: martin <martin%NetBSD.org@localhost>
date: Mon Oct 20 10:31:32 2014 +0000
description:
Try to make this buildable on big endian machines.
diffstat:
crypto/external/bsd/openssh/dist/umac.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 000ba3783fe9 -r 91b64baa376b crypto/external/bsd/openssh/dist/umac.c
--- a/crypto/external/bsd/openssh/dist/umac.c Mon Oct 20 09:13:07 2014 +0000
+++ b/crypto/external/bsd/openssh/dist/umac.c Mon Oct 20 10:31:32 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umac.c,v 1.6 2014/10/20 03:05:13 christos Exp $ */
+/* $NetBSD: umac.c,v 1.7 2014/10/20 10:31:32 martin Exp $ */
/* $OpenBSD: umac.c,v 1.11 2014/07/22 07:13:42 guenther Exp $ */
/* -----------------------------------------------------------------------
*
@@ -67,7 +67,7 @@
/* ---------------------------------------------------------------------- */
#include "includes.h"
-__RCSID("$NetBSD: umac.c,v 1.6 2014/10/20 03:05:13 christos Exp $");
+__RCSID("$NetBSD: umac.c,v 1.7 2014/10/20 10:31:32 martin Exp $");
#include <sys/types.h>
#include <sys/endian.h>
#include <string.h>
@@ -565,6 +565,7 @@
/* ---------------------------------------------------------------------- */
+#if (__LITTLE_ENDIAN__)
static void endian_convert(void *buf, UWORD bpw, UINT32 num_bytes)
/* We endian convert the keys on little-endian computers to */
/* compensate for the lack of big-endian memory reads during hashing. */
@@ -587,7 +588,6 @@
} while (--iters);
}
}
-#if (__LITTLE_ENDIAN__)
#define endian_convert_if_le(x,y,z) endian_convert((x),(y),(z))
#else
#define endian_convert_if_le(x,y,z) do{}while(0) /* Do nothing */
Home |
Main Index |
Thread Index |
Old Index