-# $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
WARNINGS= Yes
CFLAGS+= -Wundef -Werror
CFLAGS+= -DLIBRESSL_CRYPTO_INTERNAL -DLIBRESSL_INTERNAL
-CFLAGS+= -I$(BSDSRCDIR)/lib/libcrypto
run-regress-cttest: cttest
./cttest ${.CURDIR}/../../libcrypto/ct/
-/* $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 <jsing@openbsd.org>
*
#include <err.h>
#include <string.h>
+#include <openssl/ct.h>
#include <openssl/err.h>
#include <openssl/pem.h>
#include <openssl/x509v3.h>
-#include "ct/ct.h"
-
char *test_ctlog_conf_file;
char *test_cert_file;
char *test_issuer_file;