summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/sha/sha256.c
diff options
context:
space:
mode:
authorbcook <>2021-11-09 18:40:21 +0000
committerbcook <>2021-11-09 18:40:21 +0000
commit32252b67905445c5f332781497a1509d803f7aee (patch)
tree3d08be06ef36588938f48b03e786f7f3d32b03f2 /src/lib/libcrypto/sha/sha256.c
parent07305e812277e705090ef12fc544cfaca761f7b0 (diff)
downloadopenbsd-32252b67905445c5f332781497a1509d803f7aee.tar.gz
openbsd-32252b67905445c5f332781497a1509d803f7aee.tar.bz2
openbsd-32252b67905445c5f332781497a1509d803f7aee.zip
Switch to <endian.h> from <machine/endian.h> for better portability.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/sha/sha256.c')
-rw-r--r--src/lib/libcrypto/sha/sha256.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/sha/sha256.c b/src/lib/libcrypto/sha/sha256.c
index 9c05d3b0f8..e826ca9e19 100644
--- a/src/lib/libcrypto/sha/sha256.c
+++ b/src/lib/libcrypto/sha/sha256.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sha256.c,v 1.10 2019/01/21 23:20:31 jsg Exp $ */ 1/* $OpenBSD: sha256.c,v 1.11 2021/11/09 18:40:21 bcook Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2004 The OpenSSL Project. All rights reserved 3 * Copyright (c) 2004 The OpenSSL Project. All rights reserved
4 * according to the OpenSSL license [found in ../../LICENSE]. 4 * according to the OpenSSL license [found in ../../LICENSE].
@@ -9,8 +9,7 @@
9 9
10#if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA256) 10#if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA256)
11 11
12#include <machine/endian.h> 12#include <endian.h>
13
14#include <stdlib.h> 13#include <stdlib.h>
15#include <string.h> 14#include <string.h>
16 15