From 08a6fe4a707fcb3e3dc31c061ca93f76a54b6067 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 22 Jul 2023 17:02:49 +0000 Subject: 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. --- src/lib/libcrypto/ct/ct_sct.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/lib') 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 @@ -/* $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 * -- cgit v1.2.3-55-g6feb