diff options
| author | jsing <> | 2021-05-16 08:32:49 +0000 |
|---|---|---|
| committer | jsing <> | 2021-05-16 08:32:49 +0000 |
| commit | 15128d93b721effe91be90a07449f149ab5e7697 (patch) | |
| tree | 33fed52e4f2f9989586b5cfdf5d9cf26d8d46004 /src | |
| parent | 3a285d92c44f883e45d17214adc4b6cc1d76abf4 (diff) | |
| download | openbsd-15128d93b721effe91be90a07449f149ab5e7697.tar.gz openbsd-15128d93b721effe91be90a07449f149ab5e7697.tar.bz2 openbsd-15128d93b721effe91be90a07449f149ab5e7697.zip | |
Remove unnecessary includes from the bytestring APIs.
The bytestring APIs are self contained, hence including openssl headers
here is unnecessary.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libssl/bs_ber.c | 4 | ||||
| -rw-r--r-- | src/lib/libssl/bs_cbb.c | 4 | ||||
| -rw-r--r-- | src/lib/libssl/bs_cbs.c | 6 | ||||
| -rw-r--r-- | src/lib/libssl/bytestring.h | 4 |
4 files changed, 4 insertions, 14 deletions
diff --git a/src/lib/libssl/bs_ber.c b/src/lib/libssl/bs_ber.c index 7863b8be0c..bc8b09dbdb 100644 --- a/src/lib/libssl/bs_ber.c +++ b/src/lib/libssl/bs_ber.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bs_ber.c,v 1.9 2016/12/03 12:34:35 jsing Exp $ */ | 1 | /* $OpenBSD: bs_ber.c,v 1.10 2021/05/16 08:32:49 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014, Google Inc. | 3 | * Copyright (c) 2014, Google Inc. |
| 4 | * | 4 | * |
| @@ -16,8 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #include <string.h> | 17 | #include <string.h> |
| 18 | 18 | ||
| 19 | #include <openssl/opensslconf.h> | ||
| 20 | |||
| 21 | #include "bytestring.h" | 19 | #include "bytestring.h" |
| 22 | 20 | ||
| 23 | /* | 21 | /* |
diff --git a/src/lib/libssl/bs_cbb.c b/src/lib/libssl/bs_cbb.c index 62e98cb476..75ea8d20e2 100644 --- a/src/lib/libssl/bs_cbb.c +++ b/src/lib/libssl/bs_cbb.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bs_cbb.c,v 1.24 2021/01/04 19:19:12 tb Exp $ */ | 1 | /* $OpenBSD: bs_cbb.c,v 1.25 2021/05/16 08:32:49 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014, Google Inc. | 3 | * Copyright (c) 2014, Google Inc. |
| 4 | * | 4 | * |
| @@ -17,8 +17,6 @@ | |||
| 17 | #include <stdlib.h> | 17 | #include <stdlib.h> |
| 18 | #include <string.h> | 18 | #include <string.h> |
| 19 | 19 | ||
| 20 | #include <openssl/opensslconf.h> | ||
| 21 | |||
| 22 | #include "bytestring.h" | 20 | #include "bytestring.h" |
| 23 | 21 | ||
| 24 | #define CBB_INITIAL_SIZE 64 | 22 | #define CBB_INITIAL_SIZE 64 |
diff --git a/src/lib/libssl/bs_cbs.c b/src/lib/libssl/bs_cbs.c index 5c3b9e3ec6..48120dd7e5 100644 --- a/src/lib/libssl/bs_cbs.c +++ b/src/lib/libssl/bs_cbs.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bs_cbs.c,v 1.18 2019/01/23 22:20:40 beck Exp $ */ | 1 | /* $OpenBSD: bs_cbs.c,v 1.19 2021/05/16 08:32:49 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014, Google Inc. | 3 | * Copyright (c) 2014, Google Inc. |
| 4 | * | 4 | * |
| @@ -17,10 +17,6 @@ | |||
| 17 | #include <stdlib.h> | 17 | #include <stdlib.h> |
| 18 | #include <string.h> | 18 | #include <string.h> |
| 19 | 19 | ||
| 20 | #include <openssl/opensslconf.h> | ||
| 21 | #include <openssl/buffer.h> | ||
| 22 | #include <openssl/crypto.h> | ||
| 23 | |||
| 24 | #include "bytestring.h" | 20 | #include "bytestring.h" |
| 25 | 21 | ||
| 26 | void | 22 | void |
diff --git a/src/lib/libssl/bytestring.h b/src/lib/libssl/bytestring.h index 20ee43999d..ba73d484ed 100644 --- a/src/lib/libssl/bytestring.h +++ b/src/lib/libssl/bytestring.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bytestring.h,v 1.17 2018/08/16 18:39:37 jsing Exp $ */ | 1 | /* $OpenBSD: bytestring.h,v 1.18 2021/05/16 08:32:49 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014, Google Inc. | 3 | * Copyright (c) 2014, Google Inc. |
| 4 | * | 4 | * |
| @@ -20,8 +20,6 @@ | |||
| 20 | #include <sys/types.h> | 20 | #include <sys/types.h> |
| 21 | #include <stdint.h> | 21 | #include <stdint.h> |
| 22 | 22 | ||
| 23 | #include <openssl/opensslconf.h> | ||
| 24 | |||
| 25 | __BEGIN_HIDDEN_DECLS | 23 | __BEGIN_HIDDEN_DECLS |
| 26 | 24 | ||
| 27 | /* | 25 | /* |
