diff options
| author | bcook <> | 2021-11-09 18:40:21 +0000 | 
|---|---|---|
| committer | bcook <> | 2021-11-09 18:40:21 +0000 | 
| commit | 4d7b2a303b0012f3d9ea474efcca97480a760a9e (patch) | |
| tree | 3d08be06ef36588938f48b03e786f7f3d32b03f2 /src/lib/libcrypto/sha/sha256.c | |
| parent | 711bd79ee2c263531a0b623d831cb840afc6e930 (diff) | |
| download | openbsd-4d7b2a303b0012f3d9ea474efcca97480a760a9e.tar.gz openbsd-4d7b2a303b0012f3d9ea474efcca97480a760a9e.tar.bz2 openbsd-4d7b2a303b0012f3d9ea474efcca97480a760a9e.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.c | 5 | 
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 | ||
