diff options
| author | tb <> | 2023-07-22 17:02:49 +0000 |
|---|---|---|
| committer | tb <> | 2023-07-22 17:02:49 +0000 |
| commit | 2de05d438fc2f9dd7991c8a1107792eb49afc25a (patch) | |
| tree | b23511a67339e8d4d29843b2ed51a68b4cf926b3 /src | |
| parent | 05cc50fc4f45f17d8cf709be2154bf44a384dd17 (diff) | |
| download | openbsd-2de05d438fc2f9dd7991c8a1107792eb49afc25a.tar.gz openbsd-2de05d438fc2f9dd7991c8a1107792eb49afc25a.tar.bz2 openbsd-2de05d438fc2f9dd7991c8a1107792eb49afc25a.zip | |
Fix #includes in ct_sct.c
This does not need tls1.h (upstream used TLSEXT constants we don't have)
nor does it need evp.h. But it does need asn1.h, objects.h for STACK_OF
and NID_*, among other things and it also uses uint64_t and allocates,
so it needs stdint.h and stdlib.h.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/ct/ct_sct.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ct/ct_sct.c b/src/lib/libcrypto/ct/ct_sct.c index 16ee8d5576..4b2716e734 100644 --- a/src/lib/libcrypto/ct/ct_sct.c +++ b/src/lib/libcrypto/ct/ct_sct.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ct_sct.c,v 1.9 2023/07/08 07:22:58 beck Exp $ */ | 1 | /* $OpenBSD: ct_sct.c,v 1.10 2023/07/22 17:02:49 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Written by Rob Stradling (rob@comodo.com), Stephen Henson (steve@openssl.org) | 3 | * Written by Rob Stradling (rob@comodo.com), Stephen Henson (steve@openssl.org) |
| 4 | * and Adam Eijdenberg (adam.eijdenberg@gmail.com) for the OpenSSL project 2016. | 4 | * and Adam Eijdenberg (adam.eijdenberg@gmail.com) for the OpenSSL project 2016. |
| @@ -61,14 +61,16 @@ | |||
| 61 | # error "CT disabled" | 61 | # error "CT disabled" |
| 62 | #endif | 62 | #endif |
| 63 | 63 | ||
| 64 | #include <stdint.h> | ||
| 65 | #include <stdlib.h> | ||
| 66 | #include <string.h> | ||
| 67 | |||
| 68 | #include <openssl/asn1.h> | ||
| 64 | #include <openssl/ct.h> | 69 | #include <openssl/ct.h> |
| 65 | #include <openssl/err.h> | 70 | #include <openssl/err.h> |
| 66 | #include <openssl/evp.h> | 71 | #include <openssl/objects.h> |
| 67 | #include <openssl/tls1.h> | ||
| 68 | #include <openssl/x509.h> | 72 | #include <openssl/x509.h> |
| 69 | 73 | ||
| 70 | #include <string.h> | ||
| 71 | |||
| 72 | #include "ct_local.h" | 74 | #include "ct_local.h" |
| 73 | 75 | ||
| 74 | SCT * | 76 | SCT * |
