bio_asn1: adjust for more recent churn
authortb <tb@openbsd.org>
Tue, 25 Apr 2023 19:48:24 +0000 (19:48 +0000)
committertb <tb@openbsd.org>
Tue, 25 Apr 2023 19:48:24 +0000 (19:48 +0000)
regress/lib/libcrypto/bio/Makefile
regress/lib/libcrypto/bio/bio_asn1.c

index 3084f06..0402e39 100644 (file)
@@ -1,4 +1,4 @@
-#      $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
@@ -9,7 +9,9 @@ LDADD =         -lcrypto
 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}
 
index ac7f48c..abb1642 100644 (file)
@@ -1,4 +1,4 @@
-/*     $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>
@@ -27,6 +27,8 @@
 #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.