-# $OpenBSD: Makefile,v 1.6 2023/04/25 15:29:17 tb Exp $
+# $OpenBSD: Makefile,v 1.7 2023/04/25 19:48:24 tb Exp $
PROGS += bio_asn1
PROGS += bio_chain
DPADD = ${LIBCRYPTO}
WARNINGS = Yes
CFLAGS += -DLIBRESSL_INTERNAL -Werror
+CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/asn1/
CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/bio/
+CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/bytestring/
LDADD_bio_asn1 = ${CRYPTO_INT}
-/* $OpenBSD: bio_asn1.c,v 1.2 2023/03/31 06:07:44 tb Exp $ */
+/* $OpenBSD: bio_asn1.c,v 1.3 2023/04/25 19:48:24 tb Exp $ */
/*
* Copyright (c) 2023 Theo Buehler <tb@openbsd.org>
#include <openssl/objects.h>
#include <openssl/pkcs7.h>
+#include "asn1_local.h"
+
/*
* Minimal reproducer for the BIO_new_NDEF() write after free fixed in
* bio_ndef.c r1.13.