diff options
author | jsing <> | 2023-03-27 10:13:08 +0000 |
---|---|---|
committer | jsing <> | 2023-03-27 10:13:08 +0000 |
commit | 3f3422996204771302c299810f9030ac5597e148 (patch) | |
tree | 625e256da694bfcc9f8b0373377a8a6ea2087444 /src | |
parent | 9451ef4be9b27112ac4a15b1d975620ec836003f (diff) | |
download | openbsd-3f3422996204771302c299810f9030ac5597e148.tar.gz openbsd-3f3422996204771302c299810f9030ac5597e148.tar.bz2 openbsd-3f3422996204771302c299810f9030ac5597e148.zip |
Tidy includes.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/sha/sha512.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/libcrypto/sha/sha512.c b/src/lib/libcrypto/sha/sha512.c index 9fce0fcb43..7899ca3288 100644 --- a/src/lib/libcrypto/sha/sha512.c +++ b/src/lib/libcrypto/sha/sha512.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sha512.c,v 1.20 2023/03/26 17:56:51 jsing Exp $ */ | 1 | /* $OpenBSD: sha512.c,v 1.21 2023/03/27 10:13:08 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -58,6 +58,9 @@ | |||
58 | 58 | ||
59 | #include <openssl/opensslconf.h> | 59 | #include <openssl/opensslconf.h> |
60 | 60 | ||
61 | #include <openssl/crypto.h> | ||
62 | #include <openssl/sha.h> | ||
63 | |||
61 | #if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA512) | 64 | #if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA512) |
62 | /* | 65 | /* |
63 | * IMPLEMENTATION NOTES. | 66 | * IMPLEMENTATION NOTES. |
@@ -95,10 +98,6 @@ | |||
95 | * <appro@fy.chalmers.se> | 98 | * <appro@fy.chalmers.se> |
96 | */ | 99 | */ |
97 | 100 | ||
98 | #include <openssl/crypto.h> | ||
99 | #include <openssl/opensslv.h> | ||
100 | #include <openssl/sha.h> | ||
101 | |||
102 | #if !defined(__STRICT_ALIGNMENT) || defined(SHA512_ASM) | 101 | #if !defined(__STRICT_ALIGNMENT) || defined(SHA512_ASM) |
103 | #define SHA512_BLOCK_CAN_MANAGE_UNALIGNED_DATA | 102 | #define SHA512_BLOCK_CAN_MANAGE_UNALIGNED_DATA |
104 | #endif | 103 | #endif |