diff options
author | tb <> | 2023-07-22 17:02:49 +0000 |
---|---|---|
committer | tb <> | 2023-07-22 17:02:49 +0000 |
commit | 08a6fe4a707fcb3e3dc31c061ca93f76a54b6067 (patch) | |
tree | b23511a67339e8d4d29843b2ed51a68b4cf926b3 /src | |
parent | ca36d01e53e3f15faef11f42262db1e3d73febe5 (diff) | |
download | openbsd-08a6fe4a707fcb3e3dc31c061ca93f76a54b6067.tar.gz openbsd-08a6fe4a707fcb3e3dc31c061ca93f76a54b6067.tar.bz2 openbsd-08a6fe4a707fcb3e3dc31c061ca93f76a54b6067.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 * |