summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/sha/sha512.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/sha512.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/sha512.c')
-rw-r--r--src/lib/libcrypto/sha/sha512.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/sha/sha512.c b/src/lib/libcrypto/sha/sha512.c
index 6b95cfa72e..56a207f7d0 100644
--- a/src/lib/libcrypto/sha/sha512.c
+++ b/src/lib/libcrypto/sha/sha512.c
@@ -1,12 +1,11 @@
1/* $OpenBSD: sha512.c,v 1.15 2016/11/04 13:56:05 miod Exp $ */ 1/* $OpenBSD: sha512.c,v 1.16 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].
5 * ==================================================================== 5 * ====================================================================
6 */ 6 */
7 7
8#include <machine/endian.h> 8#include <endian.h>
9
10#include <stdlib.h> 9#include <stdlib.h>
11#include <string.h> 10#include <string.h>
12 11