From: tb Date: Sat, 22 Jul 2023 17:02:49 +0000 (+0000) Subject: Fix #includes in ct_sct.c X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d5d65c43c8c64e1fab17ac256c1a7b76070f7b7b;p=openbsd 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. --- diff --git a/lib/libcrypto/ct/ct_sct.c b/lib/libcrypto/ct/ct_sct.c index 16ee8d5576c..4b2716e7348 100644 --- a/lib/libcrypto/ct/ct_sct.c +++ b/lib/libcrypto/ct/ct_sct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ct_sct.c,v 1.9 2023/07/08 07:22:58 beck Exp $ */ +/* $OpenBSD: ct_sct.c,v 1.10 2023/07/22 17:02:49 tb Exp $ */ /* * Written by Rob Stradling (rob@comodo.com), Stephen Henson (steve@openssl.org) * and Adam Eijdenberg (adam.eijdenberg@gmail.com) for the OpenSSL project 2016. @@ -61,14 +61,16 @@ # error "CT disabled" #endif +#include +#include +#include + +#include #include #include -#include -#include +#include #include -#include - #include "ct_local.h" SCT *