diff options
author | tb <> | 2023-09-04 08:43:41 +0000 |
---|---|---|
committer | tb <> | 2023-09-04 08:43:41 +0000 |
commit | 33b0f5cf9e5572bcf6800932c6a58e5e35485dbb (patch) | |
tree | c04b347af4e0103272728ab8c86e755b52286c84 /src/lib/libcrypto/whrlpool | |
parent | 38f721ec5f8fb3943b912728968c1049330060cd (diff) | |
download | openbsd-33b0f5cf9e5572bcf6800932c6a58e5e35485dbb.tar.gz openbsd-33b0f5cf9e5572bcf6800932c6a58e5e35485dbb.tar.bz2 openbsd-33b0f5cf9e5572bcf6800932c6a58e5e35485dbb.zip |
Make wp_local.h and cmll_local.h self-standing
Diffstat (limited to 'src/lib/libcrypto/whrlpool')
-rw-r--r-- | src/lib/libcrypto/whrlpool/wp_dgst.c | 8 | ||||
-rw-r--r-- | src/lib/libcrypto/whrlpool/wp_local.h | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/lib/libcrypto/whrlpool/wp_dgst.c b/src/lib/libcrypto/whrlpool/wp_dgst.c index 282679e7d1..71fd79c840 100644 --- a/src/lib/libcrypto/whrlpool/wp_dgst.c +++ b/src/lib/libcrypto/whrlpool/wp_dgst.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: wp_dgst.c,v 1.6 2023/09/04 08:36:48 robert Exp $ */ | 1 | /* $OpenBSD: wp_dgst.c,v 1.7 2023/09/04 08:43:41 tb Exp $ */ |
2 | /** | 2 | /** |
3 | * The Whirlpool hashing function. | 3 | * The Whirlpool hashing function. |
4 | * | 4 | * |
@@ -52,11 +52,11 @@ | |||
52 | * input. This is done for performance. | 52 | * input. This is done for performance. |
53 | */ | 53 | */ |
54 | 54 | ||
55 | #include <sys/types.h> | 55 | #include <string.h> |
56 | 56 | ||
57 | #include "wp_local.h" | ||
58 | #include <openssl/crypto.h> | 57 | #include <openssl/crypto.h> |
59 | #include <string.h> | 58 | |
59 | #include "wp_local.h" | ||
60 | 60 | ||
61 | int WHIRLPOOL_Init(WHIRLPOOL_CTX *c) | 61 | int WHIRLPOOL_Init(WHIRLPOOL_CTX *c) |
62 | { | 62 | { |
diff --git a/src/lib/libcrypto/whrlpool/wp_local.h b/src/lib/libcrypto/whrlpool/wp_local.h index 2d3bc9c6ec..892dce23b6 100644 --- a/src/lib/libcrypto/whrlpool/wp_local.h +++ b/src/lib/libcrypto/whrlpool/wp_local.h | |||
@@ -1,4 +1,6 @@ | |||
1 | /* $OpenBSD: wp_local.h,v 1.1 2022/11/26 16:08:54 tb Exp $ */ | 1 | /* $OpenBSD: wp_local.h,v 1.2 2023/09/04 08:43:41 tb Exp $ */ |
2 | |||
3 | #include <sys/types.h> | ||
2 | 4 | ||
3 | #include <openssl/whrlpool.h> | 5 | #include <openssl/whrlpool.h> |
4 | 6 | ||