summaryrefslogtreecommitdiff
path: root/lib/libcrypto/whrlpool
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2021-11-09 18:40:22 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2021-11-09 18:40:22 +0000
commit4462e90c19507f6f9b4c77cbf0f0a5a92582a571 (patch)
treeef9a6dcceed0466088e0782eb18a9491b26d04d6 /lib/libcrypto/whrlpool
parent33aa196e246f274b03c18bd529c374e9fbdd3fed (diff)
Switch to <endian.h> from <machine/endian.h> for better portability.
ok tb@
Diffstat (limited to 'lib/libcrypto/whrlpool')
-rw-r--r--lib/libcrypto/whrlpool/wp_block.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/whrlpool/wp_block.c b/lib/libcrypto/whrlpool/wp_block.c
index 1e00a013304..b2137d643d2 100644
--- a/lib/libcrypto/whrlpool/wp_block.c
+++ b/lib/libcrypto/whrlpool/wp_block.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wp_block.c,v 1.13 2016/11/04 17:30:30 miod Exp $ */
+/* $OpenBSD: wp_block.c,v 1.14 2021/11/09 18:40:21 bcook Exp $ */
/**
* The Whirlpool hashing function.
*
@@ -36,9 +36,9 @@
*
*/
+#include <endian.h>
#include <string.h>
#include <openssl/crypto.h>
-#include <machine/endian.h>
#include "wp_locl.h"