From: tb Date: Fri, 14 Apr 2023 11:18:40 +0000 (+0000) Subject: Fix cttest to use public header X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e556bfddf564172653f95df326c0ae4b98b257fa;p=openbsd Fix cttest to use public header --- diff --git a/regress/lib/libcrypto/ct/Makefile b/regress/lib/libcrypto/ct/Makefile index 2856ddf2888..5cfdf74c115 100644 --- a/regress/lib/libcrypto/ct/Makefile +++ b/regress/lib/libcrypto/ct/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2023/03/02 21:17:35 tb Exp $ +# $OpenBSD: Makefile,v 1.5 2023/04/14 11:18:40 tb Exp $ PROG= cttest LDADD= -lcrypto @@ -7,7 +7,6 @@ DPADD= ${LIBCRYPTO} WARNINGS= Yes CFLAGS+= -Wundef -Werror CFLAGS+= -DLIBRESSL_CRYPTO_INTERNAL -DLIBRESSL_INTERNAL -CFLAGS+= -I$(BSDSRCDIR)/lib/libcrypto run-regress-cttest: cttest ./cttest ${.CURDIR}/../../libcrypto/ct/ diff --git a/regress/lib/libcrypto/ct/cttest.c b/regress/lib/libcrypto/ct/cttest.c index 05ec88c0910..8986c938833 100644 --- a/regress/lib/libcrypto/ct/cttest.c +++ b/regress/lib/libcrypto/ct/cttest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cttest.c,v 1.4 2023/01/01 17:00:08 miod Exp $ */ +/* $OpenBSD: cttest.c,v 1.5 2023/04/14 11:18:40 tb Exp $ */ /* * Copyright (c) 2021 Joel Sing * @@ -18,12 +18,11 @@ #include #include +#include #include #include #include -#include "ct/ct.h" - char *test_ctlog_conf_file; char *test_cert_file; char *test_issuer_file;