From 25fb8b7b6452723037d5e49c8ceb8e1430e7e379 Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 14 Apr 2023 11:18:40 +0000 Subject: Fix cttest to use public header --- src/regress/lib/libcrypto/ct/Makefile | 3 +-- src/regress/lib/libcrypto/ct/cttest.c | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libcrypto/ct/Makefile b/src/regress/lib/libcrypto/ct/Makefile index 2856ddf288..5cfdf74c11 100644 --- a/src/regress/lib/libcrypto/ct/Makefile +++ b/src/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/src/regress/lib/libcrypto/ct/cttest.c b/src/regress/lib/libcrypto/ct/cttest.c index 05ec88c091..8986c93883 100644 --- a/src/regress/lib/libcrypto/ct/cttest.c +++ b/src/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; -- cgit v1.2.3-55-g6feb