diff options
| author | tb <> | 2023-09-04 08:43:41 +0000 |
|---|---|---|
| committer | tb <> | 2023-09-04 08:43:41 +0000 |
| commit | 5bb5b247d4771880865de4eb2d298b7074785ebb (patch) | |
| tree | c04b347af4e0103272728ab8c86e755b52286c84 /src/lib/libc | |
| parent | 89698aee11dc52423fd8cc2cd5dcc120388ded54 (diff) | |
| download | openbsd-5bb5b247d4771880865de4eb2d298b7074785ebb.tar.gz openbsd-5bb5b247d4771880865de4eb2d298b7074785ebb.tar.bz2 openbsd-5bb5b247d4771880865de4eb2d298b7074785ebb.zip | |
Make wp_local.h and cmll_local.h self-standing
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/camellia/cmll_ecb.c | 5 | ||||
| -rw-r--r-- | src/lib/libcrypto/camellia/cmll_local.h | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/whrlpool/wp_dgst.c | 8 | ||||
| -rw-r--r-- | src/lib/libcrypto/whrlpool/wp_local.h | 4 |
4 files changed, 12 insertions, 9 deletions
diff --git a/src/lib/libcrypto/camellia/cmll_ecb.c b/src/lib/libcrypto/camellia/cmll_ecb.c index edac99023b..0575d29e29 100644 --- a/src/lib/libcrypto/camellia/cmll_ecb.c +++ b/src/lib/libcrypto/camellia/cmll_ecb.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: cmll_ecb.c,v 1.6 2023/09/04 08:36:48 robert Exp $ */ | 1 | /* $OpenBSD: cmll_ecb.c,v 1.7 2023/09/04 08:43:41 tb Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -49,9 +49,8 @@ | |||
| 49 | * | 49 | * |
| 50 | */ | 50 | */ |
| 51 | 51 | ||
| 52 | #include <sys/types.h> | ||
| 53 | |||
| 54 | #include <openssl/camellia.h> | 52 | #include <openssl/camellia.h> |
| 53 | |||
| 55 | #include "cmll_local.h" | 54 | #include "cmll_local.h" |
| 56 | 55 | ||
| 57 | void | 56 | void |
diff --git a/src/lib/libcrypto/camellia/cmll_local.h b/src/lib/libcrypto/camellia/cmll_local.h index ed9807c069..831625e776 100644 --- a/src/lib/libcrypto/camellia/cmll_local.h +++ b/src/lib/libcrypto/camellia/cmll_local.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: cmll_local.h,v 1.2 2022/11/26 17:23:17 tb Exp $ */ | 1 | /* $OpenBSD: cmll_local.h,v 1.3 2023/09/04 08:43:41 tb Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright 2006 NTT (Nippon Telegraph and Telephone Corporation) . | 3 | * Copyright 2006 NTT (Nippon Telegraph and Telephone Corporation) . |
| 4 | * ALL RIGHTS RESERVED. | 4 | * ALL RIGHTS RESERVED. |
| @@ -68,6 +68,8 @@ | |||
| 68 | #ifndef HEADER_CAMELLIA_LOCAL_H | 68 | #ifndef HEADER_CAMELLIA_LOCAL_H |
| 69 | #define HEADER_CAMELLIA_LOCAL_H | 69 | #define HEADER_CAMELLIA_LOCAL_H |
| 70 | 70 | ||
| 71 | #include <sys/types.h> | ||
| 72 | |||
| 71 | __BEGIN_HIDDEN_DECLS | 73 | __BEGIN_HIDDEN_DECLS |
| 72 | 74 | ||
| 73 | typedef unsigned int u32; | 75 | typedef unsigned int u32; |
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 | ||
